Update build process and disable debug mode
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#/bin/bash
|
||||
|
||||
msbuild=/Library/Frameworks/Mono.framework/Versions/6.12.0/bin/msbuild
|
||||
msbuild=${msbuild:-/Library/Frameworks/Mono.framework/Versions/6.12.0/bin/msbuild}
|
||||
|
||||
ROOT=$( cd "$(dirname "$0")" ; pwd -P )
|
||||
pushd $ROOT
|
||||
|
||||
# Do the build (need to use mono)
|
||||
# $msbuild
|
||||
$msbuild -p:Configuration=Release
|
||||
"$msbuild" -p:Configuration=Release
|
||||
|
||||
set -x
|
||||
rm -rf dist
|
||||
@@ -15,3 +15,8 @@ mkdir dist
|
||||
# cp bin/Debug/net48/oni-prio.dll dist/
|
||||
cp bin/Release/net48/oni-prio.dll dist/
|
||||
cp -r meta/* dist/
|
||||
|
||||
MODPATH=../OxygenNotIncludedData/mods/Local/PriorityUX
|
||||
rm -rf $MODPATH
|
||||
mkdir -p $MODPATH
|
||||
cp dist/* $MODPATH
|
||||
|
||||
Reference in New Issue
Block a user