Closed frace closed 10 years ago
You can use source: config.basedir + "build/**/*"
clean = {
run: require("gulp-clean"),
command: "clean",
source: config.basedir + "build/**/*",
target: config.basedir + "backup/build." + helpers.timestamp.now
};
Thank you for the hint. That seems to work fine. :)
I use the following code to clean an entire build directory and try to backup it recursively. But what I end up with as a backup is only the base directories without their contents. Is that possible at all?