Skip to content

Commit

Permalink
prepare the node isntallation
Browse files Browse the repository at this point in the history
Conflicts:
	node.rb
  • Loading branch information
DarkSwoop committed Mar 27, 2013
1 parent 0b05a7c commit c551029
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions node.rb
Expand Up @@ -7,3 +7,22 @@
source "http://nodejs.org/dist/v0.6.6/node-v0.6.6.tar.gz"
provides 'node', 'node-waf'
end

dep 'nvm' do
met? {
system("nvm")
}
meet {
log_shell "installing nvm", "curl https://raw.github.com/creationix/nvm/master/install.sh | sh"
`. ~/nvm/nvm.sh`
}
end

dep 'nvm node0101' do
met? {
`node -v`.strip == 'v0.10.1'
}
meet {
log_shell "install node v0.10.1", "nvm install 0.10.1"
}
end

0 comments on commit c551029

Please sign in to comment.