Commit 2a0ad546 authored by David Dollar's avatar David Dollar

add script for downloading npm

parent f67bd06d
#!/bin/sh
VERSION=$1
if [ "$VERSION" == "" ]; then
echo "usage: download_npm VERSION"
exit 1
fi
cd vendor/npm
git clone https://github.com/isaacs/npm.git npm-$VERSION
cd npm-$VERSION
git checkout v$VERSION
git submodule init
git submodule update
rm -rf .git
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment