Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.
/ gupp Public archive

Research project to recreate gulp/gulp for preformance.

License

Notifications You must be signed in to change notification settings

thatlittlegit-archive/gupp

Folders and files

NameName
Last commit message
Last commit date
Sep 17, 2017
Sep 17, 2017
Sep 17, 2017
Sep 17, 2017
Sep 17, 2017
Sep 17, 2017
Sep 17, 2017
Sep 17, 2017
Sep 17, 2017
Sep 17, 2017

Repository files navigation

gupp

A recreation of Gulp for preformance.

Usage

gupp       # Runs the default task
gupp babel # Runs 'babel'

Example guppfile

/* remember, this isn't yet finished */
const gupp = require('gupp');

/* when gupp.task(name, glob, array) is called, then
   it's assumed to be like gupp.task(name, () => {
     const src = gupp.src(glob);
	 array.forEach((cb) => src.pipe(cb));
	 // NO gupp.dest!
   }
   
   to get a gupp.dest, use gupp.task(name, glob, array, dest).
   */
gupp.task('eslint', '*.js', [
	require('gulp-eslint')(),
	require('gulp-eslint').format(),
	require('gulp-eslint').failAfterError()
	]);

gupp.task('babel', '*.js', [require('gulp-babel')], 'dist');

gupp.task('default', () => {
	console.log(`babel   Run babel
eslint  Run ESLint`);
});

About

Research project to recreate gulp/gulp for preformance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published