mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 12:47:58 +03:00
19 lines
409 B
Bash
Executable file
19 lines
409 B
Bash
Executable file
#!/bin/bash
|
|
set -x
|
|
set -e
|
|
|
|
export DOTNET_CLI_HOME="/tmp/DOTNET_CLI_HOME"
|
|
echo $HOME
|
|
shopt -s globstar
|
|
|
|
# Build the common lib DLL
|
|
cd /app/tools/config/
|
|
rm -rf **/bin **/obj
|
|
dotnet restore -p:EnableWindowsTargeting=true
|
|
dotnet publish -c Release -p:EnableWindowsTargeting=true
|
|
|
|
# Build the main executable
|
|
cd /app/tools/tr2/config/
|
|
rm -rf **/bin **/obj **/out/*
|
|
dotnet restore
|
|
dotnet publish -c Release -o out
|