Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit a813f05

Browse files
author
Simon Hofmann
committed
Updated build
1 parent abe3285 commit a813f05

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ script:
4545

4646
after_success:
4747
- if [[ $TRAVIS_TAG != "" ]]; then
48-
npm install;
49-
npm run prebuild -- -u $GITHUB_TOKEN;
50-
npm run prebuild -- -u -r electron $GITHUB_TOKEN;
51-
npm run prebuild -- -u -r node-webkit $GITHUB_TOKEN;
48+
npm run prebuild -- -t "${$(node -v):1}" -u $GITHUB_TOKEN;
49+
npm run prebuild -- -t "${$(node -v):1}" -r electron -u $GITHUB_TOKEN;
50+
npm run prebuild -- -t "${$(node -v):1}" -r node-webkit -u $GITHUB_TOKEN;
5251
fi
5352
- if [ $BUILD_TASK = 'cover' ]; then
5453
npm install;

appveyor.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ test_script:
5959

6060
on_success:
6161
- cmd: cd c:\projects\opencv4nodejs
62-
- IF defined APPVEYOR_REPO_TAG_NAME npm run prebuild -- -u %GITHUB_TOKEN%
63-
- IF defined APPVEYOR_REPO_TAG_NAME npm run prebuild -- -r electron -u %GITHUB_TOKEN%
64-
- IF defined APPVEYOR_REPO_TAG_NAME npm run prebuild -- -r node-webkit -u %GITHUB_TOKEN%
62+
- IF defined APPVEYOR_REPO_TAG_NAME (
63+
npm run prebuild -- -u %GITHUB_TOKEN%
64+
npm run prebuild -- -r electron -u %GITHUB_TOKEN%
65+
npm run prebuild -- -r node-webkit -u %GITHUB_TOKEN%
66+
)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"build": "node-gyp configure build",
3636
"rebuild": "node-gyp rebuild",
3737
"clean": "node-gyp clean",
38-
"prebuild": "prebuild --all"
38+
"prebuild": "prebuild"
3939
},
4040
"gypfile": true,
4141
"dependencies": {

0 commit comments

Comments
 (0)