chore: update .gitignore and fix target directory path in build script; add settings for permissions

This commit is contained in:
2026-02-26 17:35:31 +08:00
parent 540a69aa86
commit c5bdc213c0
3 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
{
"permissions": {
"allow": [
"Bash(cat:*)",
"Bash(mkdir:*)"
],
"deny": [],
"ask": []
}
}

3
.gitignore vendored
View File

@@ -1,2 +1,3 @@
target/
test/
test/
dist/

View File

@@ -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}"