blob: cb08c303defa6a99d0cca8705a3cd9ad6e156e1b [file] [log] [blame]
#!/bin/bash -e
./gradlew --continue :test --tests="com.google.devsite.integration.*" $@ && exit 0 || printf "\n-----------\nUpdating..."
rm -rf testData/fragment/docs && cp -r build/docs/testData/fragment/docs testData/fragment/docs
rm -rf testData/innerClasses/docs && cp -r build/docs/testData/innerClasses/docs testData/innerClasses/docs
rm -rf testData/paging/docs && cp -r build/docs/testData/paging/docs testData/paging/docs
rm -rf testData/simple/docs && cp -r build/docs/testData/simple/docs testData/simple/docs
rm -rf testData/topLevelFunctions/docs && cp -r build/docs/testData/topLevelFunctions/docs testData/topLevelFunctions/docs