A THUNDERTALK
Power - Tool
and in my opinion....
Hey! ...Wait.
..we are a c# group!
..we have nuget!
..visual studio!
like...you know...microsoft-y...stuff
right?
Scott just chillin
wearing a gulp shirt --->
Its easy to setup in your environment
Trust your boy, Scott...Get the full scoop here:
Or you can just do what the rest of us do...
npm install -g gulp
"We should have some ways of connecting programs like garden hose--screw in
another segment when it becomes necessary to massage data in
another way. This is the way of IO also."
Doug Mcllroy, 1964
a.pipe(b).pipe(c).pipe(d)
Read The FANTASTIC Manual!
Substack wrote this, and its good read even out of the context of gulp, honestly.
What CAN'T You do!
This is how you get it done.
var gulp = require('gulp'),
concat = require('gulp-concat'),
minify = require('gulp-minify');
var scriptFiles = './src/**/*.js';
function build(){
gulp
.src(scriptFiles)
.pipe(concat({fileName: "funky-town.js"})
.pipe(minify())
.pipe(gulp.dest('./dist/'));
}
gulp.task('build', build);
A simple common scenario, a build.
1. Glob goes in
2. pipe, pipe,pipe,
3. ...files go out.
..you can't explain that.
Just remember "I got 5 on it"
.run(tasks)
.watch(glob, taskFn)
.src(glob)
.dest(folder)
Iv'e written some about this, as well a slush, a scaffolding system built on Gulp.
@5imian
jesseharlin.net
simiansblog.com
OH YEAH AND BEFORE I FORGET.....