diff options
author | tdro <tdro@noreply.example.com> | 2022-05-06 10:02:34 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-06 10:02:34 -0400 |
commit | b6fe81acbf8ba0032ece1a98f0b34f02a198cfbf (patch) | |
tree | 83d69888d7951a977311a044a2a31251589c83de /Makefile | |
parent | 6caee9fe72293ef957bb9461e489d85f65edbc41 (diff) | |
download | canory-b6fe81acbf8ba0032ece1a98f0b34f02a198cfbf.tar.gz canory-b6fe81acbf8ba0032ece1a98f0b34f02a198cfbf.tar.bz2 canory-b6fe81acbf8ba0032ece1a98f0b34f02a198cfbf.zip |
static: Remove asset duplication
Move bundles up the fold.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1,7 +1,6 @@ all: make config make js - make css make hugo config: @@ -12,13 +11,7 @@ watch: while true; do find . | entr -d -s 'make all'; done js: - deno bundle --no-check --config tsconfig.json static/js/index.ts static/js/index.js - mkdir -p assets/js - cp static/js/index.js assets/js - -css: - mkdir -p assets/css - cp static/css/* assets/css + deno bundle --no-check --config tsconfig.json static/js/index.ts assets/js/index.js hugo: rm -rf public |