From 2b3ed31a58ea1bcfdf952cc84242c3e382c6b124 Mon Sep 17 00:00:00 2001 From: zleyyij Date: Thu, 25 Apr 2024 08:12:28 -0600 Subject: [PATCH] feat: include debug info in parser builds --- .gitignore | 1 + build.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2f7896d..e08c794 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ target/ +.DS_Store diff --git a/build.sh b/build.sh index bc506f3..dacdb40 100644 --- a/build.sh +++ b/build.sh @@ -3,7 +3,7 @@ bold=$(tput bold) normal=$(tput sgr0) echo "> ${bold}Compiling the parser...${normal}\n" -cd src/scripts/parser/; wasm-pack build --target web; cd - +cd src/scripts/parser/; wasm-pack build --debug --target web; cd - echo "> ${bold}Copying essential files to target/...${normal}\n" mkdir -pv target/scripts/parser/pkg