-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(neon-build): Add builder for customizing
index.node
location
- Loading branch information
1 parent
ea6e96b
commit 48a2e88
Showing
3 changed files
with
156 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
extern crate neon_build; | ||
|
||
fn main() { | ||
neon_build::setup(); // must be called in build.rs | ||
neon_build::Builder::new().output_dir("lib").output_file("bar.node").setup(); | ||
//neon_build::setup(); // must be called in build.rs | ||
|
||
// add project-specific build logic here... | ||
} |