9 Star 20 Fork 10

Gerald / jsmine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gulpfile.coffee 655 Bytes
一键复制 编辑 原始数据 按行查看 历史
Gerald 提交于 2016-03-03 17:09 . Initial commit
gulp = require 'gulp'
concat = require 'gulp-concat'
coffee = require 'gulp-coffee'
order = require 'gulp-order'
gulp.task 'coffee', ->
gulp.src 'src/**/*.coffee'
.pipe order [
'!**/app.coffee'
]
.pipe concat 'app.js'
.pipe do coffee
.pipe gulp.dest 'dist'
gulp.task 'css', ->
gulp.src 'src/**/*.css'
.pipe concat 'app.css'
.pipe gulp.dest 'dist'
gulp.task 'copy', ->
gulp.src 'src/index.html'
.pipe gulp.dest 'dist'
gulp.task 'default', ['coffee', 'css', 'copy']
gulp.task 'watch', ->
gulp.watch 'src/**/*.coffee', ['coffee']
gulp.watch 'src/**/*.css', ['css']
gulp.watch 'src/index.html', ['copy']
JavaScript
1
https://gitee.com/gerald/jsmine.git
git@gitee.com:gerald/jsmine.git
gerald
jsmine
jsmine
master

搜索帮助