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

21 lines
460 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'
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 'default', ->
gulp.watch './res/js/*.coffee', ['coffee']
gulp.watch './res/css/*.sass', ['sass']