Skip to content

Commit a78fe58

Browse files
committed
Porting to OpenBSD/adJ
1 parent c580e71 commit a78fe58

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

openbsd/.keep

Whitespace-only changes.

scripts/config.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ var sys_extension;
1010
switch (os.type()) {
1111
case 'Darwin':
1212
case 'FreeBSD':
13-
case 'Linux':
13+
case 'Linux':
14+
case 'OpenBSD':
1415
case 'Windows_NT':
1516
sys_extension = "." + os.platform(); break;
16-
default: throw ("Not supported" + os.type())
17+
default: throw ("Not supported " + os.type())
1718
}
1819

1920
exports.sys_extension = sys_extension

scripts/install.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var root_dir = path.join(__dirname, "..");
1818
var lib_dir = path.join(root_dir, "lib");
1919
var jscomp_dir = path.join(root_dir, "jscomp");
2020

21-
var supported_os = ["darwin", "freebsd", "linux", "win32"];
21+
var supported_os = ["darwin", "freebsd", "linux", "openbsd", "win32"];
2222
if (supported_os.indexOf(process.platform) < 0) {
2323
throw new Error("Not supported platform" + process.platform);
2424
}

0 commit comments

Comments
 (0)