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

31 lines
693 B
CoffeeScript
Raw Normal View History

2016-04-06 17:30:05 +02:00
# COPYRIGHT 2016 (c) Marcel Kapfer (mmk2410)
# MIT License
gulp = require 'gulp'
coffee = require 'gulp-coffee'
sass = require 'gulp-sass'
2017-06-15 23:58:59 +02:00
dart = require 'gulp-dart'
2016-04-06 17:30:05 +02:00
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/'
2017-06-15 23:58:59 +02:00
gulp.task 'dart', ->
gulp.src './res/dart/*.dart'
.pipe dart {
"dest": "./res/dart/",
"minify": "true",
}
.pipe gulp.dest './res/dart/'
2016-04-06 17:30:05 +02:00
gulp.task 'default', ->
gulp.watch './res/js/*.coffee', ['coffee']
gulp.watch './res/css/*.sass', ['sass']
2017-06-15 23:58:59 +02:00
gulp.watch './res/dart/*.dart', ['dart']