Skip to content

Commit

Permalink
build-xsnap: support debug version of xsnap
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Nov 1, 2020
1 parent ae8d51a commit cf6636a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/xs-vat-worker/build-xsnap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
## targets to build xsnap test files
SRUNNER=../../swingset-runner

# MODDABLE=/home/connolly/projects/moddable
XSNAP=$(MODDABLE)/build/bin/lin/debug/xsnap

slog.out:
node -r esm $(SRUNNER)/bin/runner --slog slog.out --init --config $(SRUNNER)/demo/exchangeBenchmark/swingset.json --benchmark 1 run -- --prime

Expand All @@ -28,4 +31,4 @@ bundle-functions-xsnap.js: input/functions.js input/harden.js
output-xsnap: bundle-functions-xsnap.js slog.out
node -r esm ./convert-slog-to-xsnap.js slog.out v1 --xsnap output
run-xsnap:
xsnap -m output/build.js
$(XSNAP) -m output/build.js

0 comments on commit cf6636a

Please sign in to comment.