chore(setup): make init_engine262.sh executable and use repository root for engine262 target directory

This commit is contained in:
2026-03-27 10:00:38 +05:30
parent 1434dd20af
commit 355451c9bb
Regular → Executable
+2 -1
View File
@@ -6,7 +6,8 @@
set -euo pipefail
REPO_URL="https://github.com/bendtherules/engine262"
TARGET_DIR="./engine262"
REPO_ROOT=$(git rev-parse --show-toplevel)
TARGET_DIR="${REPO_ROOT}/engine262"
# Add the submodule with shallow clone
git submodule add --depth 1 "$REPO_URL" "$TARGET_DIR"