Files
docker-docs/script/npm
Jeffrey Morgan 424bccc3a9 Node & test environment
- Fix environment to require no node install and more straightforward
- Add jasmine files
2014-12-27 16:32:52 -05:00

12 lines
385 B
Bash
Executable File

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $DIR/env
ATOM_SHELL_VERSION=$($NODE -pe "JSON.parse(process.argv[1])['atom-shell-version']" "$(cat package.json)")
export npm_config_disturl=https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist
export npm_config_target=$ATOM_SHELL_VERSION
export npm_config_arch=ia64
HOME=~/.atom-shell-gyp $NPM $*