MCPcopy Create free account
hub / github.com/creationix/git-browser / zipFile

Function zipFile

make.js:28–36  ·  view source on GitHub ↗
(zip, dir)

Source from the content-addressed store, hash-verified

26 );
27}
28function zipFile(zip, dir) {
29 return T.serial(
30 T.parallel(
31 T.rmrf(zip),
32 T.mkdirp(path.dirname(zip))
33 ),
34 T.execFile("zip", ["-o", "-r", path.relative(dir, zip), '.'], {cwd: dir})
35 );
36}
37
38T("web", T.parallel(
39 T.copy("src/server.js", WEBDIR + "/server.js"),

Callers 1

make.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected