Skip to content
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.

Fixed #206: add ms visual studio flag for compiling #306

Merged
merged 1 commit into from
Feb 23, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"fetch": "0.3.x",
"gulp": "3.8.x",
"gulp-conflict": "~0.1.1",
"gulp-install": "~0.1.1",
"gulp-install": "^0.6.0",
"gulp-rename": "~1.2.0",
"gulp-replace": "~0.5.4",
"gulp-template": "~0.1.1",
"inquirer": "~0.4.1",
"node-uuid": "~1.4.3",
"q": "1.0.x",
"readable-stream": "^1.0.27-1",
"readable-stream": "^2.0.2",
"request": "^2.60.0",
"underscore.string": "~2.3.3",
"vows": "0.5.x"
Expand Down
4 changes: 3 additions & 1 deletion slushfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ function configRoxy() {

gulp.task('npmInstall', ['init', 'generateSecret', 'configGulp'], function(done) {
return gulp.src(['./package.json'])
.pipe(install());
.pipe(install({
args: ['--msvs_version=2013' ] // npm install --msvs_version=2013 // node-gyph depends on Visual C++ on Win
}));
});

gulp.task('default', ['npmInstall'], function(done) {
Expand Down