aboutsummaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
authorJoris2020-02-03 18:28:50 +0100
committerJoris2020-02-03 18:28:50 +0100
commitcbcc269be607cc964fbd69d179d8a0e8b8e4bffa (patch)
tree7a8135f7ede7e1ff02bc1cf1d697a8c39a56e962 /deploy
parentc7e20a6dd01a2ae049c451d18511708aaee60a19 (diff)
downloadcooking-cbcc269be607cc964fbd69d179d8a0e8b8e4bffa.tar.gz
cooking-cbcc269be607cc964fbd69d179d8a0e8b8e4bffa.tar.bz2
cooking-cbcc269be607cc964fbd69d179d8a0e8b8e4bffa.zip
Extract dom and number utilities to external files
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy12
1 files changed, 1 insertions, 11 deletions
diff --git a/deploy b/deploy
index 43c3adf..5d4e0ab 100755
--- a/deploy
+++ b/deploy
@@ -2,17 +2,7 @@
set -e
# Cleanup
-rm -rf public
-rm -f static/main.js
-rm -f static/main.js.map
-
-# Build JavaScript
-tsc --pretty --removeComments --strict --noUnusedLocals --noUnusedParameters --noImplicitReturns main.ts --outFile main-big.js
-closure-compiler main-big.js --js_output_file static/main.js
-rm main-big.js
-
-# Build site
-zola build
+make clean build
# Transfer
rsync -avzh public/ guyonvarch.me:/var/www/cooking.guyonvarch.me --delete