Created
September 4, 2013 09:23
-
-
Save nicomen/6434714 to your computer and use it in GitHub Desktop.
Makefile nodejs thing
This file contains 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
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