feat(cli): brand new cli tool with both cli and programmatical usage (#1492)
BREAKING CHANGE: requires node >= 16 and some cli options have been renamed
This commit is contained in:
parent
7c4dc2a2bd
commit
a781a4f27e
194 changed files with 8805 additions and 4158 deletions
crates
|
@ -3,6 +3,7 @@ mod macos;
|
|||
|
||||
pub fn setup() {
|
||||
println!("cargo:rerun-if-env-changed=DEBUG_GENERATED_CODE");
|
||||
println!("cargo:rerun-if-env-changed=TYPE_DEF_TMP_PATH");
|
||||
match std::env::var("CARGO_CFG_TARGET_OS").as_deref() {
|
||||
Ok("macos") => {
|
||||
macos::setup();
|
||||
|
|
|
@ -10,6 +10,9 @@ repository = "https://github.com/napi-rs/napi-rs"
|
|||
rust-version = "1.57"
|
||||
version = "2.12.2"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue