Skip to content

Commit

Permalink
Merge pull request #622 from donejs/fix-appveyor
Browse files Browse the repository at this point in the history
Skip NW tests in Windows
  • Loading branch information
daffl committed Apr 13, 2016
2 parents 8facb1b + 16406a0 commit dcd7d63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions guides/guide/test.js
Expand Up @@ -313,7 +313,7 @@ guide.stepIf("Deploy to CDN", function() {
*/
guide.stepIf("Desktop and mobile apps: Cordova", function() {
return process.platform === 'darwin';
},function(){
}, function(){
return guide.executeCommand("npm", ["install", "-g", "ios-sim"])
.then(function(){
var proc = guide.answerPrompts("donejs", ["add", "cordova"]);
Expand All @@ -333,7 +333,9 @@ guide.stepIf("Desktop and mobile apps: Cordova", function() {
/**
* @Step 18
*/
guide.step("Desktop and mobile apps: NW.js", function(){
guide.stepIf("Desktop and mobile apps: NW.js", function() {
return process.platform !== 'win32';
}, function(){
var proc = guide.answerPrompts("donejs", ["add", "nw"]);
var answer = proc.answer;

Expand Down

0 comments on commit dcd7d63

Please sign in to comment.