Rename gulp build step to coffee

This commit is contained in:
Tim Perry 2017-11-23 12:47:33 +01:00
parent ff2ee59dae
commit 93d1e3a4a1
2 changed files with 3 additions and 7 deletions

View File

@ -26,9 +26,5 @@ gulp.task 'lint', ->
})) }))
.pipe(coffeelint.reporter()) .pipe(coffeelint.reporter())
gulp.task 'build', [ gulp.task 'watch', [ 'coffee' ], ->
'coffee' gulp.watch([ OPTIONS.files.coffee ], [ 'coffee' ])
]
gulp.task 'watch', [ 'build' ], ->
gulp.watch([ OPTIONS.files.coffee ], [ 'build' ])

View File

@ -18,7 +18,7 @@
"resin": "./bin/resin" "resin": "./bin/resin"
}, },
"scripts": { "scripts": {
"build": "gulp build && npm run doc", "build": "gulp coffee && npm run doc",
"ci": "npm run build && catch-uncommitted", "ci": "npm run build && catch-uncommitted",
"doc": "mkdir -p doc/ && coffee extras/capitanodoc/index.coffee > doc/cli.markdown", "doc": "mkdir -p doc/ && coffee extras/capitanodoc/index.coffee > doc/cli.markdown",
"watch": "gulp watch", "watch": "gulp watch",