[2020-02] Bump msbuild to track mono-2019-12 (#19661)
[mono-project.git] / eng / common / cibuild.sh
blob1a02c0dec8fd7b1abf9143e183c5415ba4b15a8b
1 #!/usr/bin/env bash
3 source="${BASH_SOURCE[0]}"
5 # resolve $SOURCE until the file is no longer a symlink
6 while [[ -h $source ]]; do
7 scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
8 source="$(readlink "$source")"
10 # if $source was a relative symlink, we need to resolve it relative to the path where
11 # the symlink file was located
12 [[ $source != /* ]] && source="$scriptroot/$source"
13 done
14 scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
16 . "$scriptroot/build.sh" --restore --build --test --pack --publish --ci $@