github.com/tickoalcantara12/micro/v3@v3.0.0-20221007104245-9d75b9bcbab9/scripts/checkout-services.sh (about) 1 # This file checks out the `micro/services` repo to the './test/services' 2 # folder, and makes the same modifications as what the github 3 # workflow files do so test can run those services. 4 5 rm -rf test/services 6 cd test 7 git clone https://github.com/micro/services 8 cd services 9 rm go.mod 10 rm go.sum 11 grep -rl github.com/micro/services . | xargs sed -i 's/github.com\/micro\/services/github.com\/micro\/micro\/v3\/test\/services/g' 12 rm -rf .git