Skip to content

Commit

Permalink
Merge pull request #271 from Digital-Engineering/bugfix/build
Browse files Browse the repository at this point in the history
corrected cargo to build on windows right
  • Loading branch information
DnOberon authored and GitHub Enterprise committed Mar 8, 2023
2 parents 436f065 + fd4e493 commit 23a8646
Show file tree
Hide file tree
Showing 4 changed files with 459 additions and 11,078 deletions.
28 changes: 15 additions & 13 deletions NodeLibraries/dl-fast-load/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 11 additions & 3 deletions NodeLibraries/dl-fast-load/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,21 @@
"scripts": {
"build": "cargo-cp-artifact -nc index.node -- cargo build --message-format=json-render-diagnostics",
"build-debug": "npm run build --",
"build-release": "cargo-cp-artifact -a cdylib dl-fast-load index.node -- cat build-output.txt",
"build-release": "cross-os copy",
"install": "npm run build-release",
"test": "cargo test"
},
"cross-os": {
"copy": {
"darwin": "cargo-cp-artifact -a cdylib dl-fast-load index.node -- cat build-output.txt",
"win32": "cargo-cp-artifact -a cdylib dl-fast-load index.node -- type build-output.txt",
"linux": "cargo-cp-artifact -a cdylib dl-fast-load index.node -- cat build-output.txt"
}
},
"author": "John Darrington",
"license": "MIT",
"devDependencies": {
"cargo-cp-artifact": "^0.1"
"cargo-cp-artifact": "^0.1.8",
"cross-os": "^1.5.0"
}
}
}
Loading

0 comments on commit 23a8646

Please sign in to comment.