You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
442 B
28 lines
442 B
#!/bin/bash
|
|
set -x
|
|
SYSTEM=`uname -s`
|
|
|
|
BUILD_CONFIG=Debug
|
|
PUBLISH_CONFIG=Release
|
|
NETCOREVER=net6.0
|
|
|
|
RUNTIME_WIN=win7-x64
|
|
RUNTIME=$RUNTIME_WIN
|
|
|
|
|
|
|
|
RESTORE=true
|
|
PUBLISH=true
|
|
|
|
build_one_proj_exe()
|
|
{
|
|
dotnet restore ./$1
|
|
str="../share/ExcelExport/win7-x64/checkbin"
|
|
dotnet publish $1 --configuration $PUBLISH_CONFIG --runtime $RUNTIME --output $str --framework $NETCOREVER
|
|
}
|
|
|
|
RUNTIME=$RUNTIME_WIN
|
|
build_one_proj_exe CheckConfig
|
|
echo $SYSTEM
|
|
|
|
|
|
|