mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2026-10-25 15:05:25 +00:00
13 lines
535 B
JavaScript
13 lines
535 B
JavaScript
"use strict";
|
|
// toolroot - where the CLI finds toolchains, presets and BIOS images: a
|
|
// directory laid out like the repo (src/worker/..., presets/, res/).
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.toolRoot = toolRoot;
|
|
/**
|
|
* $EIGHTBITWORKSHOP_ROOT when set (the VS Code extension's launcher points it
|
|
* at the extension's toolchains), else the current directory (a checkout).
|
|
*/
|
|
function toolRoot() {
|
|
return process.env.EIGHTBITWORKSHOP_ROOT || process.cwd();
|
|
}
|
|
//# sourceMappingURL=toolroot.js.map
|