mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
Wrote copy task, started sprite config
This commit is contained in:
parent
87d91b07be
commit
e7b68c87ad
1 changed files with 12 additions and 2 deletions
14
gulpfile.js
14
gulpfile.js
|
|
@ -18,6 +18,15 @@ var config = {
|
|||
staticPage: 'public/css/static.styl' // static is a 'future' reserved word
|
||||
},
|
||||
dest: './build/'
|
||||
},
|
||||
sprite: {
|
||||
|
||||
},
|
||||
copy: {
|
||||
src: ['./common/img/sprites/backer-only/*.gif',
|
||||
'./common/img/sprites/npc_ian.gif',
|
||||
'./bower_components/bootstrap/dist/fonts/*'],
|
||||
dest: './build/'
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -48,7 +57,8 @@ gulp.task('stylus', function() {
|
|||
});
|
||||
|
||||
gulp.task('copy', function() {
|
||||
// @TODO: Finish this
|
||||
gulp.src(config.copy.src)
|
||||
.pipe(gulp.dest(config.copy.dest));
|
||||
});
|
||||
|
||||
gulp.task('hashres', function() {
|
||||
|
|
@ -64,7 +74,7 @@ gulp.task('dev', ['watch'], function() {
|
|||
nodemon({ script: pkg.main });
|
||||
});
|
||||
|
||||
gulp.task('prod', function() {
|
||||
gulp.task('prod', ['clean', 'stylus', 'copy'], function() {
|
||||
// @TODO: Finish this
|
||||
});
|
||||
gulp.task('default', ['dev']);
|
||||
|
|
|
|||
Loading…
Reference in a new issue