aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-06-04 12:10:09 +0300
committerheqnx <root@heqnx.com>2025-06-04 12:10:09 +0300
commitf8a89cb75245b8eff296cf85ca536357ece3abbe (patch)
tree1fc0aa626c685102103699b52416b7596aed5613 /build.sh
parent9d088faeeebc2687eb62eb718a0a851ed2d741cb (diff)
downloadSharpRIDHijack-f8a89cb75245b8eff296cf85ca536357ece3abbe.tar.gz
SharpRIDHijack-f8a89cb75245b8eff296cf85ca536357ece3abbe.zip
updated build script
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/build.sh b/build.sh
deleted file mode 100755
index 2f12d09..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 SharpRIDHijack.sln
- msbuild SharpRIDHijack.sln /p:Configuration=Release /p:Platform="Any CPU"
- msbuild SharpRIDHijack.sln /p:Configuration=Release /p:Platform=x64
- msbuild SharpRIDHijack.sln /p:Configuration=Release /p:Platform=x86
-
- cp SharpRIDHijack/bin/Release/SharpRIDHijack.exe build/SharpRIDHijack-AnyCPU.exe
- cp SharpRIDHijack/bin/x64/Release/SharpRIDHijack.exe build/SharpRIDHijack-x64.exe
- cp SharpRIDHijack/bin/x86/Release/SharpRIDHijack.exe build/SharpRIDHijack-x86.exe
-'
-
-printf "%s\n" "[inf] finished building ${repo_name}"