Skip to content

Instantly share code, notes, and snippets.

@egermano
Created January 22, 2013 16:10
Show Gist options
  • Select an option

  • Save egermano/4595879 to your computer and use it in GitHub Desktop.

Select an option

Save egermano/4595879 to your computer and use it in GitHub Desktop.
git deploy with stylus
#!/bin/sh
#path to project on server
GIT_WORK_TREE=/var/www/path/to/project/ git checkout -f
# other instructions on deploy
cd /var/www/path/to/project
# Compile Stylus
stylus --include /usr/local/lib/node_modules/nib/lib app/static/style/main.styl
stylus app/static/style/tab.styl
stylus app/static/style/help.styl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment