Skip to content

Instantly share code, notes, and snippets.

@nicomen
Created September 4, 2013 09:23
Show Gist options
  • Save nicomen/6434714 to your computer and use it in GitHub Desktop.
Save nicomen/6434714 to your computer and use it in GitHub Desktop.
Makefile nodejs thing
test: nodejs ruby-compass
sudo npm install -g yo grunt-cli bower grunt
grunt tests
ruby:
ruby || sudo apt-get install ruby
ruby-compass:
compass -v || sudo apt-get install ruby-compass
nodejs:
([ `node -v | sed -r 's/^v0\.([0-9]).*/\1/'` -gt 9 ] || sudo apt-get install nodejs)
.PHONY: ruby test node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment