This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
filespread/gulpfile.coffee
2017-06-15 23:58:59 +02:00

30 lines
693 B
CoffeeScript
Executable file

# COPYRIGHT 2016 (c) Marcel Kapfer (mmk2410)
# MIT License
gulp = require 'gulp'
coffee = require 'gulp-coffee'
sass = require 'gulp-sass'
dart = require 'gulp-dart'
gulp.task 'coffee', ->
gulp.src './res/js/*.coffee'
.pipe coffee()
.pipe gulp.dest './res/js/'
gulp.task 'sass', ->
gulp.src './res/css/*.sass'
.pipe sass()
.pipe gulp.dest './res/css/'
gulp.task 'dart', ->
gulp.src './res/dart/*.dart'
.pipe dart {
"dest": "./res/dart/",
"minify": "true",
}
.pipe gulp.dest './res/dart/'
gulp.task 'default', ->
gulp.watch './res/js/*.coffee', ['coffee']
gulp.watch './res/css/*.sass', ['sass']
gulp.watch './res/dart/*.dart', ['dart']