From a84b5a7f65fc19411a927cae34af3a427b53a598 Mon Sep 17 00:00:00 2001 From: heqnx Date: Wed, 4 Jun 2025 12:10:26 +0300 Subject: updated build script --- build.sh | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh deleted file mode 100755 index dac3ecf..0000000 --- a/build.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -set -e - -if ! command -v docker; then - printf "%s\n" "[err] docker not found" - exit 1 -fi - -repo_name=$( basename -s .git $(git remote get-url origin) ) - -docker run --rm -it -v $(pwd):/app -w /app mono:latest bash -c ' - set -e - mkdir -p build - - nuget restore SharpAMSIGhosting.sln - msbuild SharpAMSIGhosting.sln /p:Configuration=Release /p:Platform="Any CPU" - msbuild SharpAMSIGhosting.sln /p:Configuration=Release /p:Platform=x64 - msbuild SharpAMSIGhosting.sln /p:Configuration=Release /p:Platform=x86 - - cp SharpAMSIGhosting/bin/Release/SharpAMSIGhosting.exe build/SharpAMSIGhosting-AnyCPU.exe - cp SharpAMSIGhosting/bin/x64/Release/SharpAMSIGhosting.exe build/SharpAMSIGhosting-x64.exe - cp SharpAMSIGhosting/bin/x86/Release/SharpAMSIGhosting.exe build/SharpAMSIGhosting-x86.exe -' - -printf "%s\n" "[inf] finished building ${repo_name}" -- cgit v1.2.3