refactor(cli): init yarn workspace, move napi-rs package => @napi-rs/cli

This commit is contained in:
LongYinan 2020-10-15 20:16:52 +08:00 committed by LongYinan
parent a8873525fc
commit 7767b83222
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7
37 changed files with 6367 additions and 440 deletions
build/src

View file

@ -106,6 +106,9 @@ pub fn setup() {
"cargo:rustc-link-search=native={}",
link_search_dir.display()
);
// Link `win_delay_load_hook.obj`
// Needed for electron, but okay for other environments
// https://github.com/neon-bindings/neon/pull/627
println!("cargo:rustc-cdylib-link-arg=delayimp.lib");
println!("cargo:rustc-cdylib-link-arg=/DELAYLOAD:node.exe");
}