diff options
author | Kenneth Skovhede <kenneth@hexad.dk> | 2017-05-23 11:16:16 +0300 |
---|---|---|
committer | Kenneth Skovhede <kenneth@hexad.dk> | 2017-05-23 11:16:16 +0300 |
commit | fc5b2097e1d45fbb376a00d38b47b17963b3b687 (patch) | |
tree | afb51001308b074336032c0a74f862a6dae53705 /build-release.sh | |
parent | ed25307affc4e16c12433d96b76fcbdae4ff739c (diff) |
Updated build script to use msbuild, and now setting the `__MonoCS__` preprocessor directive manually.
Diffstat (limited to 'build-release.sh')
-rw-r--r-- | build-release.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-release.sh b/build-release.sh index 7d24d5078..2ff2a8da7 100644 --- a/build-release.sh +++ b/build-release.sh @@ -28,7 +28,7 @@ AUTHENTICODE_PFXFILE="${HOME}/.config/signkeys/Duplicati/authenticode.pfx" AUTHENTICODE_PASSWORD="${HOME}/.config/signkeys/Duplicati/authenticode.key" GITHUB_TOKEN_FILE="${HOME}/.config/github-api-token" -XBUILD=/Library/Frameworks/Mono.framework/Commands/xbuild +XBUILD=/Library/Frameworks/Mono.framework/Commands/msbuild NUGET=/Library/Frameworks/Mono.framework/Commands/nuget MONO=/Library/Frameworks/Mono.framework/Commands/mono GPG=/usr/local/bin/gpg2 @@ -110,7 +110,7 @@ rm -rf "Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release" "${XBUILD}" /p:Configuration=Release /target:Clean "Duplicati.sln" find "Duplicati" -type d -name "Release" | xargs rm -rf -"${XBUILD}" /p:Configuration=Release "Duplicati.sln" +"${XBUILD}" /p:DefineConstants=__MonoCS__ /p:DefineConstants=ENABLE_GTK /p:Configuration=Release "Duplicati.sln" BUILD_STATUS=$? if [ "${BUILD_STATUS}" -ne 0 ]; then |