Commit 91317ec2 authored by ZeHiro's avatar ZeHiro Committed by ZeHiro
Browse files

Fix css generation after caa36972

parent b9774b90
......@@ -10,6 +10,4 @@ cat ./node_modules/normalize.css/normalize.css \
./node_modules/pickadate/lib/themes/classic.date.css \
./node_modules/pickadate/lib/themes/classic.time.css \
./node_modules/jquery-minicolors/jquery.minicolors.css \
./build/client/css/sprite.css > ./build/client/css/main.css &&
rm ./build/client/css/sprite.css
./build/client/css/sprite.css > ./build/client/css/main.css
......@@ -11,8 +11,8 @@ mkdir -p ./build/server/shared
(./node_modules/onchange/cli.js './static/**/*' -v -- cp -r ./static/* ./build/client) &
# CSS
(./node_modules/onchange/cli.js './static/images/banks/*.png' -v -- ./scripts/sprite.sh ./build/client/images/sprite.svg ./client/css/sprite.css) &
(./node_modules/onchange/cli.js './client/css/**/*.css' -v -- ./scripts/build-css.sh) &
(./node_modules/onchange/cli.js './static/images/banks/*.png' -v -- ./scripts/sprite.sh ./build/client/images/sprite.svg ./build/client/css/sprite.css) &
(./node_modules/onchange/cli.js './client/css/**/*.css' './build/client/css/sprite.css' -v -- ./scripts/build-css.sh) &
# Vendor JS
(./node_modules/onchange/cli.js './client/vendor/**/*.js' -v -- ./scripts/build-vendor-js.sh) &
......
......@@ -34,6 +34,10 @@ mv ./build/client/css/main.css ./build/client/css/main.back.css
cat ./build/client/css/main.back.css | ./node_modules/.bin/minify --css > ./build/client/css/main.css
rm ./build/client/css/main.back.css
# Avoid shipping unused files
echo "Deleting sprite.css"
rm ./build/client/css/sprite.css
git add -f build/
echo "Removing dev dependencies and installing production dependencies before shrinkwrap..."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment