mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
21 lines
547 B
TypeScript
21 lines
547 B
TypeScript
import gulp = require("gulp");
|
|
import concat = require("gulp-concat");
|
|
|
|
gulp.task("concat:simple", () => {
|
|
gulp.src(["file*.txt"])
|
|
.pipe(concat("file.txt"))
|
|
.pipe(gulp.dest("build"));
|
|
});
|
|
|
|
gulp.task("concat:newLine", () => {
|
|
gulp.src(["file*.txt"])
|
|
.pipe(concat("file.txt", { newLine: ";" }))
|
|
.pipe(gulp.dest("build"));
|
|
});
|
|
|
|
gulp.task("concat:vinyl", () => {
|
|
gulp.src(["file*.txt"])
|
|
.pipe(concat({ path: "file.txt", stat: { mode: parseInt("0666", 8) } }))
|
|
.pipe(gulp.dest("build"));
|
|
});
|