Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
59 lines (55 loc) · 1.41 KB

File metadata and controls

59 lines (55 loc) · 1.41 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
'use strict';
var Fs = require("fs");
var Path = require("path");
var Caml_builtin_exceptions = require("../lib/js/caml_builtin_exceptions");
function clean() {
var match = typeof (__dirname) === "undefined" ? undefined : (__dirname);
if (match !== undefined) {
var bin_dir = Path.join(match, "..", "bin");
var files = Fs.readdirSync(bin_dir);
console.log(/* tuple */[
"cleaning now",
files
]);
files.forEach(function (f) {
if (!f.startsWith("bs") && f !== ".gitignore" && f !== "ninja.exe") {
var p = Path.join(bin_dir, f);
try {
console.log(/* tuple */[
"removing",
p,
"now"
]);
Fs.unlinkSync(p);
return /* () */0;
}
catch (exn){
console.log(/* tuple */[
"removing",
p,
"failure"
]);
return /* () */0;
}
}
else {
return 0;
}
});
return /* () */0;
}
else {
throw [
Caml_builtin_exceptions.assert_failure,
[
"clean.ml",
22,
12
]
];
}
}
var Fs$1 = 0;
exports.Fs = Fs$1;
exports.clean = clean;
/* fs Not a pure module */
Morty Proxy This is a proxified and sanitized view of the page, visit original site.