CG Static
A collection of gulp tasks to automate build of static sites
Usage
var gulp = ;gulplanguages: "en" // optional. array of all languages. the first is defaultdirs:dist: "./dist" //default-valuesrc: "./src" //default-valuescss: "./scss" //default-valuestatics: // example of simple static folder - glob is useddestination: "./test/dist"files:"./test/src/static/**/*.*"handlebars:helpers:json:// require here handlebars plugins
Functions
serve: serve using browser-sync
build: run handlebars scss and static
clean: clean dist folder - all file will be deleted
handlebars: build handlebars templates
scss: build sass files
static: copy all contents of the static folder in dist root
License
The MIT License (MIT)