ensure folders exist

This commit is contained in:
Jeremy Kauffman 2016-03-15 12:12:43 -04:00
parent c8d425ada2
commit 7974c66515

View file

@ -2,6 +2,9 @@
trap 'jobs -p | xargs kill' EXIT trap 'jobs -p | xargs kill' EXIT
mkdir -p dist/css
mkdir -p dist/js
sass --watch scss:dist/css --sourcemap=none & sass --watch scss:dist/css --sourcemap=none &
if [ $1 != "jeremyisbadatnode" ]; then if [ $1 != "jeremyisbadatnode" ]; then
@ -9,4 +12,4 @@ if [ $1 != "jeremyisbadatnode" ]; then
else else
#yes I am dumb, but not a high prio fix - Jeremy #yes I am dumb, but not a high prio fix - Jeremy
babel --presets /home/jeremy/local/lib/node_modules/babel-preset-es2015,/home/jeremy/local/lib/node_modules/babel-preset-react --out-dir dist/js/ --watch ~/code/lbry-web-gui/js/ babel --presets /home/jeremy/local/lib/node_modules/babel-preset-es2015,/home/jeremy/local/lib/node_modules/babel-preset-react --out-dir dist/js/ --watch ~/code/lbry-web-gui/js/
fi fi