-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b616db
commit b789a88
Showing
439 changed files
with
15,697 additions
and
12,014 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Define paths and project details | ||
bootstrap_project="../src/ClassicUO.Bootstrap/src/ClassicUO.Bootstrap.csproj" | ||
client_project="../src/ClassicUO.Client" | ||
output_directory="../bin/dist" | ||
target="" | ||
|
||
# Determine the platform | ||
platform=$(uname -s) | ||
|
||
# Build for the appropriate platform | ||
case $platform in | ||
Linux) | ||
# Add Linux-specific build commands here | ||
target="linux-x64" | ||
;; | ||
Darwin) | ||
# Add macOS-specific build commands here | ||
target="osx-x64" | ||
;; | ||
MINGW* | CYGWIN*) | ||
# Add Windows-specific build commands here | ||
target="win-x64" | ||
;; | ||
*) | ||
echo "Unsupported platform: $platform" | ||
exit 1 | ||
;; | ||
esac | ||
|
||
|
||
dotnet publish "$bootstrap_project" -c Release -o "$output_directory" | ||
dotnet publish "$client_project" -c Release -f net8.0 -p:PublishAot=true -p:TargetFrameworks=net8.0 -p:NativeLib=Shared -p:OutputType=Library -r $target -o "$output_directory" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.