aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-06 08:16:20 -0400
committertdro <tdro@noreply.example.com>2022-05-06 08:16:20 -0400
commit7f9817200b0e46dc3aca63a7a31de82b6d105e2f (patch)
treef25e551a6007431ef58a710d2dbd0d7220d58d55 /Makefile
parent16c09dd5c34743f74319dd41746ec0fe7efb7260 (diff)
downloadcanory-7f9817200b0e46dc3aca63a7a31de82b6d105e2f.tar.gz
canory-7f9817200b0e46dc3aca63a7a31de82b6d105e2f.tar.bz2
canory-7f9817200b0e46dc3aca63a7a31de82b6d105e2f.zip
themes/default/layouts/partials/head: Bundle
Fingerprint and cache bust automatically.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 99aef3d..d428258 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
all:
make config
make js
+ make css
make hugo
config:
@@ -12,6 +13,12 @@ watch:
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
hugo:
rm -rf public