node/tools/upgrade-npm.sh

8 lines
128 B
Bash
Raw Normal View History

2014-09-25 05:41:07 +08:00
#!/bin/bash
set -xe
rm -rf deps/npm
(cd deps && curl https://registry.npmjs.org/npm/-/npm-$1.tgz | tar xz && mv package npm)