diff options
| author | Volpeon <git@volpeon.ink> | 2021-01-14 20:29:23 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-01-14 20:29:23 +0100 |
| commit | a788c0f520afc923cc291693705f44f52c2a3b2e (patch) | |
| tree | acfc447c0a247ef2c04f81d6f25c8ce7325586e1 /Makefile | |
| parent | Show secret footer, add link meta tag to feed for owning page, finished home ... (diff) | |
| download | volpeon.ink-a788c0f520afc923cc291693705f44f52c2a3b2e.tar.gz volpeon.ink-a788c0f520afc923cc291693705f44f52c2a3b2e.tar.bz2 volpeon.ink-a788c0f520afc923cc291693705f44f52c2a3b2e.zip | |
Compile drafts in watch/serve mode
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -23,6 +23,7 @@ compress_br: build_only | |||
| 23 | @echo -e "\033[0;32m[COMPRESS]\033[0m Brotli" | 23 | @echo -e "\033[0;32m[COMPRESS]\033[0m Brotli" |
| 24 | @brotli -k -- `find output -type f -iregex '.*\\.\\(css\\|js\\|json\\|html\\|xml\\|txt\\|svg\\|ico\\|woff\\)'` | 24 | @brotli -k -- `find output -type f -iregex '.*\\.\\(css\\|js\\|json\\|html\\|xml\\|txt\\|svg\\|ico\\|woff\\)'` |
| 25 | 25 | ||
| 26 | build: export LIVE=false | ||
| 26 | build: compress_gz compress_br | 27 | build: compress_gz compress_br |
| 27 | 28 | ||
| 28 | watch_sass: build_only | 29 | watch_sass: build_only |
| @@ -40,6 +41,7 @@ watch_metadata: build_only | |||
| 40 | watch_filters: build_only | 41 | watch_filters: build_only |
| 41 | @scripts/watch_filters.sh | 42 | @scripts/watch_filters.sh |
| 42 | 43 | ||
| 44 | watch: export LIVE=true | ||
| 43 | watch: watch_sass watch_content watch_templates watch_metadata watch_filters | 45 | watch: watch_sass watch_content watch_templates watch_metadata watch_filters |
| 44 | 46 | ||
| 45 | serve_only: build_only | 47 | serve_only: build_only |
