Skip to content

Instantly share code, notes, and snippets.

@hideo55
Created December 7, 2011 15:52
Show Gist options
  • Save hideo55/1443290 to your computer and use it in GitHub Desktop.
Save hideo55/1443290 to your computer and use it in GitHub Desktop.
#!/bin/sh
NODE_VERSIONS=("v0.4.12" "v0.6.5")
VERSION_MANAGER="/usr/local/bin/nodebrew use"
for val in ${NODE_VERSIONS[@]}
do
$VERSION_MANAGER $val
npm run-script install
npm run-script test
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment