3 # Get fresh copies of source files for the integration tests.
5 # Assumes source repos exist as peers of the current repo.
10 echo "Get fresh copies of source files for use in integration tests."
14 echo " bin/get ferret #"
15 echo " bin/put pinnacle # freshen a specific downstream"
16 echo " bin/put scalpel #"
17 echo " bin/get vim-docvim #"
18 echo " ---------------------------------------------------"
19 echo " bin/get all # freshen all sources"
26 echo "Updating $PROJECT"
27 git --git-dir "../$PROJECT/.git" archive --prefix="$PROJECT/input/" HEAD \
28 | tar -x -C tests/fixtures/integration -f -
29 mkdir -p "tests/fixtures/integration/$PROJECT/golden"
35 while [ $# -gt 0 ]; do
45 ferret|pinnacle|scalpel|vim-docvim)
49 echo "Unrecognized project: $PROJECT"