Commit 3e7a3a40 authored by Arthur TOUSSAINT's avatar Arthur TOUSSAINT

Update build.js

parent 1b5270b2
Pipeline #414 failed with stage
in 9 minutes and 16 seconds
......@@ -35,7 +35,7 @@ gulp.task('html', ['wiredep', 'scripts', 'partials'], function () {
var cssFilter = $.filter('**/*.css');
var assets;
fs.writeFile('dist/version.json', JSON.stringify({build_date: new Date()}));
fs.writeFileSync('dist/version.json', JSON.stringify({build_date: new Date()}));
return gulp.src('app/*.html')
.pipe($.inject(gulp.src('.tmp/**/*.js'), {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment