mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 13:45:00 +00:00
build: move build scripts and resources from src
to build
This commit is contained in:
parent
0f3e670dd4
commit
b67cd693cd
11 changed files with 73 additions and 67 deletions
17
build/build.osx.command
Normal file
17
build/build.osx.command
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
rm -rf SourceGit.app
|
||||
|
||||
mkdir -p SourceGit.app/Contents/Resources
|
||||
cp resources/App.plist SourceGit.app/Contents/Info.plist
|
||||
cp resources/App.icns SourceGit.app/Contents/Resources/App.icns
|
||||
|
||||
mkdir -p SourceGit.app/Contents/MacOS
|
||||
dotnet publish ../src/SourceGit.csproj -c Release -r osx-arm64 -o SourceGit.app/Contents/MacOS -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
|
||||
zip SourceGit.osx-arm64.zip -r SourceGit -x "*/en/*" -x "*/zh/*" -x "*/*\.dsym/*"
|
||||
|
||||
rm -rf SourceGit.app/Contents/MacOS
|
||||
|
||||
mkdir -p SourceGit.app/Contents/MacOS
|
||||
dotnet publish ../src/SourceGit.csproj -c Release -r osx-x64 -o SourceGit.app/Contents/MacOS -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
|
||||
zip SourceGit.osx-arm64.zip -r SourceGit -x "*/en/*" -x "*/zh/*" -x "*/*\.dsym/*"
|
Loading…
Add table
Add a link
Reference in a new issue