Skip to content

Commit

Permalink
Merge pull request #55 from jh3y/develop
Browse files Browse the repository at this point in the history
#53 Revert os check and use updated gulp-template-store
  • Loading branch information
jh3y committed Dec 14, 2015
2 parents 3e81aeb + bb29b52 commit 45d29d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ var gulp = require('gulp'),
source = require('vinyl-source-stream'),
buffer = require('vinyl-buffer'),
fs = require('fs'),
os = require('os'),
browserSync = require('browser-sync'),
gConfig = require('./gulp-config'),
pluginOpts = gConfig.pluginOpts,
Expand Down Expand Up @@ -88,7 +87,7 @@ gulp.task('tmpl:compile', function(){
.pipe(plugins.jade(pluginOpts.jade))
.pipe(plugins.template({
name: 'templates.js',
base: (os.platform() === 'win32') ? 'src\\jade\\templates\\': 'src/jade/templates/',
base: 'src/jade/templates/',
variable: 'module.exports'
}))
.pipe(gulp.dest(destinations.templates));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"gulp-size": "^1.2.1",
"gulp-sourcemaps": "^1.5.2",
"gulp-stylus": "^2.0.1",
"gulp-template-store": "^1.0.0",
"gulp-template-store": "^1.1.1",
"gulp-uglify": "^1.4.1",
"gulp-util": "^3.0.4",
"gulp-wrap": "^0.11.0",
Expand Down

0 comments on commit 45d29d5

Please sign in to comment.