Archived
1
0

Update nbin

This commit is contained in:
Asher
2019-08-30 17:45:11 -05:00
parent b901043bfc
commit 976a326f47
3 changed files with 126 additions and 6 deletions

View File

@ -181,13 +181,8 @@ function package-task() {
# Bundle built code into a binary.
function binary-task() {
# I had trouble getting VS Code to build with the @coder/nbin dependency due
# to the types it installs (tons of conflicts), so for now it's a global
# dependency.
cd "${rootPath}"
npm link @coder/nbin
node "${rootPath}/scripts/nbin.js" "${buildPath}" "${target}" "${binaryName}"
rm node_modules/@coder/nbin
log "Binary: ${buildPath}/${binaryName}"
}