Sync public tree to d0af060
This commit is contained in:
parent
8c11db913e
commit
a77e138a24
6 changed files with 185 additions and 11 deletions
|
|
@ -9,7 +9,10 @@ const path = require("path");
|
|||
const repo = path.resolve(__dirname, "..");
|
||||
const temp = fs.mkdtempSync(path.join(os.tmpdir(), "disasmer-cli-install-"));
|
||||
const installRoot = path.join(temp, "install");
|
||||
const targetDir = path.join(temp, "target");
|
||||
const targetDir =
|
||||
process.env.DISASMER_CLI_INSTALL_CARGO_TARGET_DIR ||
|
||||
process.env.CARGO_TARGET_DIR ||
|
||||
path.join(repo, "target");
|
||||
const project = path.join(repo, "examples/launch-build-demo");
|
||||
const binName = process.platform === "win32" ? "disasmer.exe" : "disasmer";
|
||||
const installedBin = path.join(installRoot, "bin", binName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue