Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo Shields <joshield@microsoft.com>2019-05-02 17:24:10 +0300
committerGitHub <noreply@github.com>2019-05-02 17:24:10 +0300
commit748da2e4a93e820540f857ee8c6d3f752141f4de (patch)
tree33627940240d5ba4863da6ab11fd52c479c0c100 /eng/common/cibuild.sh
parentc9c50f85f4ea7368b1aeaaed27564fcf6a1a3609 (diff)
[netcore] Onboard Arcade (#14301)
Diffstat (limited to 'eng/common/cibuild.sh')
-rwxr-xr-xeng/common/cibuild.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/eng/common/cibuild.sh b/eng/common/cibuild.sh
new file mode 100755
index 00000000000..1a02c0dec8f
--- /dev/null
+++ b/eng/common/cibuild.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+source="${BASH_SOURCE[0]}"
+
+# resolve $SOURCE until the file is no longer a symlink
+while [[ -h $source ]]; do
+ scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
+ source="$(readlink "$source")"
+
+ # if $source was a relative symlink, we need to resolve it relative to the path where
+ # the symlink file was located
+ [[ $source != /* ]] && source="$scriptroot/$source"
+done
+scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
+
+. "$scriptroot/build.sh" --restore --build --test --pack --publish --ci $@ \ No newline at end of file