-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_for_inky.command
More file actions
executable file
·16 lines (11 loc) · 882 Bytes
/
Copy pathbuild_for_inky.command
File metadata and controls
executable file
·16 lines (11 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cd "`dirname "$0"`"
# Build for each platform
dotnet publish -c Release -r win-x86 --self-contained true /p:PublishTrimmed=false /p:PublishSingleFile=true -o BuildForInky inklecate/inklecate.csproj
mv BuildForInky/inklecate.exe BuildForInky/inklecate_win.exe
dotnet publish -c Release -r osx-x64 --self-contained true /p:PublishTrimmed=false /p:PublishSingleFile=true -o BuildForInky inklecate/inklecate.csproj
mv BuildForInky/inklecate BuildForInky/inklecate_mac
dotnet publish -c Release -r linux-x64 --self-contained true /p:PublishTrimmed=false /p:PublishSingleFile=true -o BuildForInky inklecate/inklecate.csproj
mv BuildForInky/inklecate BuildForInky/inklecate_linux
# Copy the runtime and compiler debug symbols in
cp ink-engine-runtime/bin/Release/netstandard2.0/ink-engine-runtime.pdb BuildForInky/
cp compiler/bin/Release/netstandard2.0/ink_compiler.pdb BuildForInky/