Fix Node.js gyp action for non-Windows
This commit is contained in:
parent
aacfb78e0f
commit
00c3361117
|
@ -15,7 +15,7 @@
|
|||
"action_name": "build minify-html-ffi static library",
|
||||
"inputs": ["native/src/lib.rs"],
|
||||
"outputs": ["native/target/release/libminify_html_ffi.a", "native/target/release/minify_html_ffi.h"],
|
||||
"action": ["cargo build --manifest-path ../native/Cargo.toml --release"],
|
||||
"action": ["cargo", "build", "--manifest-path", "native/Cargo.toml", "--release"],
|
||||
},
|
||||
],
|
||||
"libraries": [
|
||||
|
|
Loading…
Reference in New Issue