Skip to content

Commit 9bb6ae2

Browse files
committed
build: improve update-wpt checkout duration
1 parent c334d5e commit 9bb6ae2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/update-wpt.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ trap cleanup INT TERM EXIT
1616

1717
cd "$WORKSPACE"
1818
git clone \
19+
--no-checkout \
1920
--depth=1 \
2021
--filter=blob:none \
2122
--sparse \
2223
https://github.com/web-platform-tests/wpt.git wpt
2324
cd wpt
24-
git sparse-checkout set "url/resources"
25+
git sparse-checkout add "url/resources"
26+
git checkout
2527
cp url/resources/*.json "$WPT_DIR"

0 commit comments

Comments
 (0)