This commit is contained in:
Wilson Lin 2021-04-06 14:12:51 +10:00
parent 16cea54a31
commit 77b3d1e4c3
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
const cp = require("child_process");
const path = require("path");
const pkg = require("./package.json");
cp.spawnSync(
@ -6,7 +7,7 @@ cp.spawnSync(
[
"build",
"--manifest-path",
"native/Cargo.toml",
path.join(__dirname, "native", "Cargo.toml"),
"--release",
"--features",
pkg.name.split("/")[1],