summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b05cd85..e6aefd8 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ test: data list
clean:
rm -fr data list
- git worktree prune
+ -git worktree prune
data:
git clone https://github.com/yaml/yaml-test-suite $@ --branch=$@
@@ -27,5 +27,6 @@ data:
list:
-git branch --track run-test-suite-list origin/run-test-suite-list
-git worktree prune
- git worktree add $@ run-test-suite-list
+ git worktree add $@ run-test-suite-list || \
+ git clone --branch=run-test-suite-list $$PWD/../../.git $@
(cd $@ && git reset --hard $(LIST_COMMIT))