From 92d13131fc56a5126f0d1d7ecd2355264442c9f5 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Thu, 13 May 2021 23:49:25 -0400 Subject: [PATCH] Add basic README and fix help from not exiting early --- README.md | 5 +++++ precompress | 1 + 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 439860b..895d63e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # precompress +A script for "precompressing" static files for use with [Caddy](https://caddyserver.com/). + +## Documentation + +Run `./precompress help` diff --git a/precompress b/precompress index fd8a62c..c29fbea 100755 --- a/precompress +++ b/precompress @@ -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