This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/gulpfile.coffee

18 lines
464 B
CoffeeScript
Raw Normal View History

2016-02-02 22:01:32 +00:00
g = require('gulp')
g.p = require('gulp-load-plugins')()
g.d = require('del')
g.config =
bowerDir: 'vendor/bower',
assetsDir: './source/assets',
sassPattern: './sass/**/*.scss',
production: !!g.p.util.env.production,
sourceMaps: !g.p.util.env.production,
liveReload: !g.p.util.env.production
g.copy = (srcFiles, outputDir) ->
g.src(srcFiles)
.pipe g.dest(outputDir)
require('fs').readdirSync('./gulp').forEach (task) -> require "./gulp/#{task}"