Skip to content

Commit f8e1cd2

Browse files
buchwasabuchwasa
authored andcommitted
Add runtime option to build script
I'm having a serious case of the Mondays...
1 parent ce3a699 commit f8e1cd2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/osx/Installer.Mac/build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ case "$i" in
2222
CONFIGURATION="${i#*=}"
2323
shift # past argument=value
2424
;;
25+
--runtime=*)
26+
RUNTIME="${i#*=}"
27+
shift
28+
;;
2529
--version=*)
2630
VERSION="${i#*=}"
2731
shift # past argument=value
@@ -45,7 +49,7 @@ COMPONENTOUT="$COMPONENTDIR/com.microsoft.gitcredentialmanager.component.pkg"
4549
DISTOUT="$OUTDIR/gcm-osx-x64-$VERSION.pkg"
4650

4751
# Layout and pack
48-
"$INSTALLER_SRC/layout.sh" --configuration="$CONFIGURATION" --output="$PAYLOAD" || exit 1
52+
"$INSTALLER_SRC/layout.sh" --configuration="$CONFIGURATION" --output="$PAYLOAD" --runtime="$RUNTIME" || exit 1
4953
"$INSTALLER_SRC/pack.sh" --payload="$PAYLOAD" --version="$VERSION" --output="$COMPONENTOUT" || exit 1
5054
"$INSTALLER_SRC/dist.sh" --package-path="$COMPONENTDIR" --version="$VERSION" --output="$DISTOUT" || exit 1
5155

0 commit comments

Comments
 (0)