Skip to content

Commit

Permalink
neon dist --debug for debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
keichan34 committed Jan 11, 2025
1 parent 525887a commit 644139b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

12 changes: 6 additions & 6 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@
"test": "npm run test:node && npm run test:cargo",
"test:cargo": "cargo test",
"test:node": "tsc --noEmit && glob -c 'node --import tsx' './src/**/*.test.ts'",
"tsc-build": "shx rm -r ./dist; tsc --project tsconfig.dist.json",
"clean": "shx rm -r ./dist ./platforms/**/index.node ./index.node; cargo clean",
"tsc-build": "npm run clean; tsc --project tsconfig.dist.json",
"cargo-build": "npm run tsc-build && cargo build --message-format=json-render-diagnostics > cargo.log",
"cross-build": "npm run tsc-build && cross build --message-format=json-render-diagnostics > cross.log",
"postcargo-build": "neon dist < cargo.log",
"postcross-build": "neon dist -m /target < cross.log",
"debug": "npm run cargo-build --",
"postdebug": "neon dist --debug < cargo.log",
"build": "npm run cargo-build -- --release",
"cross": "npm run cross-build -- --release",
"prepack": "npm run tsc-build && neon update",
Expand Down

0 comments on commit 644139b

Please sign in to comment.