Skip to content

Instantly share code, notes, and snippets.

@wiesson
Created July 5, 2016 19:41
Show Gist options
  • Save wiesson/d84d4de9a99296f29983aea127e260e2 to your computer and use it in GitHub Desktop.
Save wiesson/d84d4de9a99296f29983aea127e260e2 to your computer and use it in GitHub Desktop.
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