mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 05:05:40 +12:00
Update build script
This commit is contained in:
parent
03035cd5fb
commit
7fb2673de0
3 changed files with 8 additions and 8 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -37,12 +37,12 @@ jobs:
|
|||
cd HISPd
|
||||
dotnet publish -r linux-x64 -c Linux --self-contained
|
||||
mkdir "HISPd\bin\x64\Linux\net7.0\linux-x64\native\gamedata"
|
||||
copy "..\HorseIsleData\gamedata\*" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\gamedata"
|
||||
copy "..\HorseIsleData\HI1.MAP" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HI1.MAP"
|
||||
copy "HISPd\bin\x64\Linux\net7.0\linux-x64\e_sqlite3.dll" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\e_sqlite3.dll"
|
||||
del "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.pdb"
|
||||
del "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.lib"
|
||||
del "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.exp"
|
||||
cp "..\HorseIsleData\gamedata\*" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\gamedata"
|
||||
cp "..\HorseIsleData\HI1.MAP" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HI1.MAP"
|
||||
cp "HISPd\bin\x64\Linux\net7.0\linux-x64\e_sqlite3.dll" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\e_sqlite3.dll"
|
||||
rm -f "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.pdb"
|
||||
rm -f "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.lib"
|
||||
rm -f "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.exp"
|
||||
dotnet remove HISPd package Microsoft.DotNet.ILCompiler
|
||||
cd ..
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
<RepositoryUrl>https://github.com/islehorse/HISP</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<WarningLevel>3</WarningLevel>
|
||||
<NoWarn>1701;1702;2026</NoWarn>
|
||||
<NoWarn>1701;1702;2026;IL2026</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows|x86'">
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
<RepositoryUrl>https://github.com/islehorse/HISP</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<WarningLevel>3</WarningLevel>
|
||||
<NoWarn>1701;1702;2026</NoWarn>
|
||||
<NoWarn>1701;1702;2026;IL2026</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows|x86'">
|
||||
|
|
Loading…
Add table
Reference in a new issue