Modify the bash scripts to handle the new folder structure

This commit is contained in:
Livar Cunha 2016-01-20 15:09:25 -08:00
parent ac2d0e36a9
commit 0c3751cd37
3 changed files with 27 additions and 1 deletions

View file

@ -20,5 +20,11 @@ source "$DIR/../common/_common.sh"
dotnet publish "$REPOROOT/tools/MultiProjectValidator" -o "$STAGE2_DIR/../tools"
#TODO for release builds this should fail
set +e
"$STAGE2_DIR/../tools/pjvalidate" "$REPOROOT/src"
PJ_VALIDATE_PATH = "$STAGE2_DIR/../tools/$CONFIGURATION/$TFM"
if [ ! -d "$PJ_VALIDATE_PATH" ]
then
PJ_VALIDATE_PATH = "$STAGE2_DIR/../tools"
fi
"$PJ_VALIDATE_PATH/pjvalidate" "$REPOROOT/src"
set -e