Add basic README and fix help from not exiting early

This commit is contained in:
Tony Blyler 2021-05-13 23:49:25 -04:00
parent a166f0e4b3
commit 92d13131fc
2 changed files with 6 additions and 0 deletions

View file

@ -1,2 +1,7 @@
# precompress
A script for "precompressing" static files for use with [Caddy](https://caddyserver.com/).
## Documentation
Run `./precompress help`

View file

@ -20,6 +20,7 @@ case "${1:-}" in
Primarily used for Caddy's file_sever directive's precompresed option.
It will compress every non brotli, zstandard, or gzip file.
EOF
exit 0
;;
esac