mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 21:31:46 +00:00
chore(setup): make init_engine262.sh executable and use repository root for engine262 target directory
This commit is contained in:
Regular → Executable
+2
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user