From fc5b2097e1d45fbb376a00d38b47b17963b3b687 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Tue, 23 May 2017 10:16:16 +0200 Subject: Updated build script to use msbuild, and now setting the `__MonoCS__` preprocessor directive manually. --- build-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build-release.sh') 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 -- cgit v1.2.3