diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ca7d2fa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,15 @@ +# Normalize line endings +* text=auto + +# Shell scripts +*.sh text eol=lf + +# Markdown +*.md text + +# SVG +*.svg text + +# Binary +*.png binary +*.jpg binary diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..4a85150 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: [mateussiqueira] diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..6a8a18e --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,20 @@ +## Summary + + + +## Type + +- [ ] Bug fix +- [ ] New feature +- [ ] Documentation +- [ ] CI / infrastructure + +## Checklist + +- [ ] `make lint` passes +- [ ] `make test` passes +- [ ] Tested on a real Mac (Intel or Apple Silicon) + +## Related + + diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..a71cb44 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d168141 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: lint test build clean + +lint: + shellcheck unleash lib/*.sh + bash -n unleash lib/*.sh + +test: + bats tests/*.bats + +build: + ./examples/build-standalone.sh + +clean: + rm -f unleash-standalone.sh