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

Commit

Permalink
Fixed #206: add ms visual studio flag for compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
grtjn committed Feb 15, 2016
1 parent 19db6f7 commit 46d603c
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 46d603c

Please sign in to comment.