From c5bdc213c09bbbd93471f264cd7f9c6d65a09903 Mon Sep 17 00:00:00 2001 From: libr Date: Thu, 26 Feb 2026 17:35:31 +0800 Subject: [PATCH] chore: update .gitignore and fix target directory path in build script; add settings for permissions --- .claude/settings.local.json | 10 ++++++++++ .gitignore | 3 ++- script/build-glue.sh | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .claude/settings.local.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..b7c0dbc --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,10 @@ +{ + "permissions": { + "allow": [ + "Bash(cat:*)", + "Bash(mkdir:*)" + ], + "deny": [], + "ask": [] + } +} diff --git a/.gitignore b/.gitignore index 383386b..5a6c60c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ target/ -test/ \ No newline at end of file +test/ +dist/ \ No newline at end of file diff --git a/script/build-glue.sh b/script/build-glue.sh index aaf4e1f..0c77a08 100755 --- a/script/build-glue.sh +++ b/script/build-glue.sh @@ -7,7 +7,7 @@ if [[ "${1:-}" == "--release" ]]; then fi ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -TARGET_DIR="${ROOT_DIR}/../target/wasm32-unknown-emscripten/${BUILD_MODE}" +TARGET_DIR="${ROOT_DIR}/target/wasm32-unknown-emscripten/${BUILD_MODE}" DIST_DIR="${ROOT_DIR}/dist" EMSDK_DIR="${EMSDK:-/Users/libr/Desktop/Life/emsdk}" UNICORN_BUILD_DIR="${UNICORN_BUILD_DIR:-${ROOT_DIR}/../unicorn/build}"