mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
Faster native-utils-migration build
This commit is contained in:
parent
29c6e6e394
commit
330c51bccf
2 changed files with 6 additions and 2 deletions
|
@ -45,3 +45,7 @@ napi-build = "2.0.1"
|
|||
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
||||
[profile.release-no-lto]
|
||||
inherits = "release"
|
||||
lto = false
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
"artifacts": "napi artifacts",
|
||||
"build": "yarn build:napi && yarn build:migration",
|
||||
"build:napi": "napi build --features napi --platform --release ./built/",
|
||||
"build:migration": "cargo build --locked --release --manifest-path ./migration/Cargo.toml && cp ./target/release/migration ./built/migration",
|
||||
"build:debug": "napi build --platform ./built/ && cargo build --manifest-path ./migration/Cargo.toml",
|
||||
"build:migration": "cargo build --locked --profile release-no-lto -p migration && cp ./target/release-no-lto/migration ./built/migration",
|
||||
"build:debug": "napi build --platform ./built/ && cargo build -p migration",
|
||||
"prepublishOnly": "napi prepublish -t npm",
|
||||
"test": "yarn cargo:test && yarn build:napi && ava",
|
||||
"universal": "napi universal",
|
||||
|
|
Loading…
Reference in a new issue