Skip to content

Commit ce75b4d

Browse files
committed
update depends
1 parent c77be03 commit ce75b4d

File tree

4 files changed

+2053
-7692
lines changed

4 files changed

+2053
-7692
lines changed

gulpfile.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

gulpfile.mjs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
const zip = (await import("gulp-zip")).default
3+
const { task, src, dest } = await import("gulp")
4+
5+
task("default", function() {
6+
console.log("Put binaries into bin/ directory first.")
7+
console.log("Make sure binaries have execute permission before packaging.")
8+
console.log("This should be run from a Linux shell so that permissions are properly copied into the package.")
9+
10+
return src(["*.js", "package.json", "package-lock.json", "bin/*"], {base: "."})
11+
.pipe(zip("package.zip"))
12+
.pipe(dest("dist"))
13+
})

0 commit comments

Comments
 (0)