aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-06 10:02:34 -0400
committertdro <tdro@noreply.example.com>2022-05-06 10:02:34 -0400
commitb6fe81acbf8ba0032ece1a98f0b34f02a198cfbf (patch)
tree83d69888d7951a977311a044a2a31251589c83de /Makefile
parent6caee9fe72293ef957bb9461e489d85f65edbc41 (diff)
downloadcanory-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--Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index d428258..c2e8546 100644
--- a/Makefile
+++ b/Makefile
@@ -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