aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahielkasim@gmail.com>2016-02-24 09:39:07 +0100
committerRahiel Kasim <rahielkasim@gmail.com>2016-02-24 09:39:07 +0100
commit39c0e5a13a65693b520e812639843194751f8d3d (patch)
treee8948d08f0e2dc6c4637b649ad54430db8230a5d
parent7d921e398338dff3874e7a1532315426b75b1dfd (diff)
update.bash: use project local webpack
-rwxr-xr-xupdate.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/update.bash b/update.bash
index 92596f0..158d219 100755
--- a/update.bash
+++ b/update.bash
@@ -1,11 +1,13 @@
#!/usr/bin/env bash
+set -e
+
path="sunsistemo.github.io/"
cp index.html "$path"
cp style.css "$path"
cp -r textures/ "$path"
cp validation/index.html "$path"/validation/
-webpack --optimize-minimize --output-path "$path"
+./node_modules/.bin/webpack --optimize-minimize --output-path "$path"
cd "$path"
git mv CNAME CNAME-disabled
git commit -m "force cloudfare cache refresh"