add gulp release for test
This commit is contained in:
parent
9906a29c74
commit
5a059ba30a
|
|
@ -3,4 +3,4 @@ node_js:
|
|||
- "4.0"
|
||||
before_script:
|
||||
- npm install -g gulp
|
||||
script: gulp
|
||||
script: gulp release
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
[](https://www.npmjs.com/package/aplayer)
|
||||
[](https://www.npmjs.com/package/aplayer)
|
||||
[](https://david-dm.org/DIYgod/APlayer#info=devDependencies)
|
||||
[]()
|
||||
[](https://travis-ci.org/DIYgod/APlayer)
|
||||
|
||||
Wow, such a beautiful html5 music player
|
||||
|
||||
|
|
|
|||
|
|
@ -57,5 +57,8 @@ gulp.task('watch', function () {
|
|||
gulp.watch('demo/font/*', ['copy']);
|
||||
});
|
||||
|
||||
// compile the project, including move font, compress js and scss, also be used to test
|
||||
gulp.task('release', ['copy', 'compressJS', 'compressCSS']);
|
||||
|
||||
// Default task, running just `gulp` will move font, compress js and scss, launch server, watch files.
|
||||
gulp.task('default', ['copy', 'compressJS', 'compressCSS', 'browser-sync', 'watch']);
|
||||
gulp.task('default', ['release', 'browser-sync', 'watch']);
|
||||
Loading…
Reference in New Issue