UNPKG

slush-y

Version:

A slush generator for Best Practices with AngularJS Fullstack applications.

25 lines (18 loc) 580 B
(function(){ 'use strict'; var _ = require('lodash'); var path = require('path'); var gulp = require('gulp'); /** * Factory Bound to the Slushy Prototype; * @return {Function} Callback function for the Controller Task to Call */ module.exports = function ( $, paths, filters, templates, slushy) { var __this = this; __this.show(filters) gulp.src( templates.base.all() ) .pipe( $.template( filters ) ) .pipe( $.conflict( paths.dest )) .pipe( gulp.dest( paths.dest )); }; })();