Skip to content

Commit

Permalink
fix gulp issues
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Nov 29, 2015
1 parent fa47d5c commit 3bd556d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 5 additions & 2 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,11 @@ var build = function(options) {
file.contents = res;
next(null, file);
});
}))
.pipe(preprocess({ context: { DEBUG: false } }));
}));

if (options.version !== 'dev') {
compiled.pipe(preprocess({ context: { DEBUG: false } }));
}

var build = compiled.pipe(clone())
.pipe(header(banner + '\n' + license + '\n\n', { context: options }))
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
"yuidocjs": "^0.9.0"
},
"scripts": {
"dev": "npm install && gulp",
"test": "gulp test"
"test": "gulp && gulp test"
},
"dependencies": {}
}

0 comments on commit 3bd556d

Please sign in to comment.