-
Notifications
You must be signed in to change notification settings - Fork 24
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
Showing
2 changed files
with
31 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
|
||
set -xeo pipefail | ||
|
||
# Make sure we are in the right directory | ||
cd "$(dirname "$0")" | ||
|
||
# Reset the love directory | ||
rm -rfv love | ||
mkdir love | ||
|
||
# Download and install latest Olympus as a base | ||
cd love | ||
wget -O linux.main.zip 'https://maddie480.ovh/celeste/download-olympus?branch=main&platform=linux' | ||
unzip linux.main.zip | ||
mv -v linux.main/dist.zip dist.zip | ||
unzip dist.zip | ||
rm -rfv linux.main dist.zip linux.main.zip olympus.love | ||
cd .. | ||
|
||
# Build Olympus.Sharp and copy it to love | ||
cd sharp | ||
dotnet build --configuration Release Olympus.Sharp.sln | ||
cp -vf bin/Release/net452/* ../love/sharp | ||
cd .. | ||
|
||
# Run our fresh build! | ||
cd love | ||
./love --console ../src --debug |