checklinks.sh 557 B

123456789101112131415161718
  1. #!/bin/bash
  2. if [ ! -d "TDD2019TESTS" ]; then
  3. echo "Adding main public test repository"
  4. git submodule add --force https://forge.univ-artois.fr/m1-2018-2019/TDD2019TESTS.git
  5. fi
  6. if [ ! -d "TDD2019HIDDENTESTS" ]; then
  7. echo "Adding main hidden test repository"
  8. git submodule add --force https://forge.univ-artois.fr/root/TDD2019HIDDENTESTS.git
  9. fi
  10. if [ ! -d "TDD2019OWNTESTS" ]; then
  11. echo "Adding own test repository for $1"
  12. git submodule add --force https://forge.univ-artois.fr/$1/TDD2019OWNTESTS.git
  13. fi
  14. # git checkout HEAD .gitmodules