Reorganize ext build scripts and add linting

This commit is contained in:
hensm
2019-02-26 14:08:17 +00:00
parent 1e49fbe9be
commit 2014566cc4
9 changed files with 78 additions and 44 deletions

8
ext/bin/lib/paths.js Normal file
View File

@@ -0,0 +1,8 @@
"use strict";
const path = require("path");
exports.ROOT = path.resolve(__dirname, "../../");
exports.INCLUDE_PATH = path.resolve(exports.ROOT, "src");
exports.DIST_PATH = path.join(exports.ROOT, "../dist/ext");
exports.UNPACKED_PATH = path.join(exports.DIST_PATH, "unpacked");