Created
July 5, 2016 19:41
-
-
Save wiesson/d84d4de9a99296f29983aea127e260e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
css: | |
./node_modules/node-sass/bin/node-sass resources/assets/sass/style.scss resources/assets/css/style.css --recursive --compress | |
./node_modules/postcss-cli/bin/postcss --use autoprefixer resources/assets/css/style.css -o resources/assets/css/style.css | |
./node_modules/.bin/cssnano resources/assets/css/style.css static/style.min.css --safe | |
watchcss: css | |
./node_modules/node-sass/bin/node-sass resources/assets/sass/style.scss static/style.css --watch --recursive --compress | |
pip_update: | |
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U | |
rm -f requirements/base.txt | |
pip freeze > requirements/base.txt | |
.PHONY: css watchcss clean pip_update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment