mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 19:17:09 +03:00
Use apm to install modules
This commit is contained in:
parent
a12abd7377
commit
851febd495
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -88,3 +88,6 @@
|
||||
[submodule "vendor/packages/hyperlink-helper.tmbundle"]
|
||||
path = vendor/packages/hyperlink-helper.tmbundle
|
||||
url = https://github.com/textmate/hyperlink-helper.tmbundle
|
||||
[submodule "vendor/apm"]
|
||||
path = vendor/apm
|
||||
url = https://github.com/atom/apm.git
|
||||
|
@ -21,15 +21,10 @@ exit_unless_npm_exists() {
|
||||
exit_unless_xcode_exists
|
||||
exit_unless_npm_exists
|
||||
|
||||
npm install npm --silent
|
||||
|
||||
NODE_DIR="$HOME/.cefode-gyp"
|
||||
NODE_VERSION="0.10.3"
|
||||
NODE_URL="https://gh-contractor-zcbenz.s3.amazonaws.com/cefode2/dist"
|
||||
if [ ! -d "node_modules/node-gyp" ]; then
|
||||
./node_modules/.bin/npm install node-gyp --silent
|
||||
HOME="$NODE_DIR" ./node_modules/.bin/node-gyp install --target="$NODE_VERSION" --dist-url="$NODE_URL" --arch=ia32
|
||||
fi
|
||||
HOME="$NODE_DIR" ./node_modules/.bin/npm install --target="$NODE_VERSION" --arch=ia32 --silent
|
||||
git submodule --quiet sync
|
||||
git submodule --quiet update --recursive --init
|
||||
|
||||
(cd vendor/apm && npm install .)
|
||||
|
||||
npm install vendor/apm
|
||||
./node_modules/.bin/apm install
|
||||
|
1
vendor/apm
vendored
Submodule
1
vendor/apm
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 2c7ffb2e37ff92514b1471e9d9d325f4d3a52b11
|
Loading…
Reference in New Issue
Block a user