Created
September 23, 2014 08:36
-
-
Save teltploek/4c34c34cca5b41762d72 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Task: clean | |
// Description: clean static dir for gulp generated files "rimraf": "^2.2.8", | |
// ----------------------------------------------------------------------- | |
var frontend = require('../local_modules/frontend-builder.js'); | |
var path = require('path'); | |
var gulp = require('gulp'); | |
var rimraf = require('rimraf'); | |
var project = frontend.getProjectDetails(); | |
gulp.task('clean', function () { | |
rimraf( path.join(process.cwd(), project.baseDirs.dist), function() { } ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment