Skip to content
This repository has been archived by the owner on Feb 19, 2018. It is now read-only.

Commit

Permalink
Fix errors with removing paths.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed Jun 4, 2016
1 parent e8411f3 commit 3c5d7d3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
5 changes: 0 additions & 5 deletions generators/gulp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ module.exports = generators.Base.extend({
this.destinationPath('gulp/tasks')
);

this.fs.copy(
this.templatePath('paths.json'),
this.destinationPath('paths.json')
);

if (this.options.uploading === 'Amazon S3') {
this.fs.copyTpl(
this.templatePath('aws-credentials.json'),
Expand Down
2 changes: 1 addition & 1 deletion generators/gulp/templates/tasks/browsersync.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gulp.task('serve', (done) => {
browserSync.init({
// tunnel: true,
// open: false,
server: ['.tmp', 'dist'],
server: ['.tmp', 'dist']
});
done();

Expand Down
2 changes: 1 addition & 1 deletion generators/gulp/templates/tasks/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ gulp.task('scripts', () =>
'src/assets/javascript/vendor.js',
'src/assets/javascript/main.js'
])
.pipe(newer('.tmp/assets/javascript/index.js', {dest: path.scripts.dest, ext: '.js'}))
.pipe(newer('.tmp/assets/javascript/index.js', {dest: '.tmp/assets/javascript', ext: '.js'}))
.pipe(when(!argv.prod, sourcemaps.init()))
.pipe(babel({
presets: ['es2015']
Expand Down
4 changes: 0 additions & 4 deletions test/gulp.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ test('creates gulpfile', () => {
assert.file('gulpfile.js');
});

test('creates paths.json', () => {
assert.file('paths.json');
});

test('creates package.json', () => {
assert.file('package.json');
});
Expand Down

0 comments on commit 3c5d7d3

Please sign in to comment.