From 3adaf27f19051c0013a621348fdf1936c32dddb3 Mon Sep 17 00:00:00 2001 From: jashook Date: Thu, 19 Oct 2017 15:50:21 -0700 Subject: [PATCH] Add build-test osx support --- build-test.sh | 6 ++++++ build.sh | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/build-test.sh b/build-test.sh index 2b83380..48d9a1f 100755 --- a/build-test.sh +++ b/build-test.sh @@ -29,6 +29,10 @@ initTargetDistroRid() export __DistroRid="$__HostDistroRid" fi + if [ "$__BuildOS" == "OSX" ]; then + __PortableBuild=1 + fi + # Portable builds target the base RID if [ "$__PortableBuild" == 1 ]; then if [ "$__BuildOS" == "Linux" ]; then @@ -41,6 +45,8 @@ initTargetDistroRid() if [ "$ID.$VERSION_ID" == "ubuntu.16.04" ]; then export __DistroRid="ubuntu.14.04-$__BuildArch" fi + + echo "__DistroRid: " $__DistroRid } isMSBuildOnNETCoreSupported() diff --git a/build.sh b/build.sh index 922063c..a098d5e 100755 --- a/build.sh +++ b/build.sh @@ -105,6 +105,10 @@ initTargetDistroRid() export __DistroRid="$__HostDistroRid" fi + if [ "$__BuildOS" == "OSX" ]; then + __PortableBuild=1 + fi + # Portable builds target the base RID if [ $__PortableBuild == 1 ]; then if [ "$__BuildOS" == "Linux" ]; then -- 2.7.4