-
Notifications
You must be signed in to change notification settings - Fork 22
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
12 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 |
---|---|---|
@@ -1,23 +1,40 @@ | ||
#!/bin/sh | ||
REPO=${REPO:-https://github.com/tomm/fab-agon-emulator.git} | ||
set -euxo pipefail # bash strict mode: https://gist.github.com/mohanpedala/1e2ff5661761d3abd0385e8223e16425 | ||
set -euo pipefail # bash strict mode: https://gist.github.com/mohanpedala/1e2ff5661761d3abd0385e8223e16425 | ||
|
||
echo "⚠️ MSYS2 may ask to restart after this update. If so, rerun this script afterwards." | ||
echo " | ||
⚠️ MSYS2 may ask to restart after this update. If so, rerun this script afterwards. | ||
" | ||
pacman --noconfirm -Syu | ||
echo "👌 Installing build dependencies for fab-agon-emulator..." | ||
|
||
echo " | ||
⚙️ Installing build dependencies for fab-agon-emulator... | ||
" | ||
pacman --noconfirm -S \ | ||
vim \ | ||
git \ | ||
make \ | ||
ucrt64/mingw-w64-ucrt-x86_64-SDL2 \ | ||
ucrt64/mingw-w64-ucrt-x86_64-gcc \ | ||
ucrt64/mingw-w64-ucrt-x86_64-rust | ||
echo "👋 Cloning ${REPO}" | ||
git clone | ||
cd fab-agon-emulator | ||
|
||
echo " | ||
⭐ MSYS2 initialization complete | ||
⭐ Build dependencies for fab-egon-emulator installed | ||
⭐ github repo ${REPO} cloned and submodules initialized | ||
🪄 Enjoy! | ||
" | ||
👋 Cloning ${REPO}... | ||
" | ||
git clone "${REPO}" | ||
|
||
echo " | ||
⭐ github repo ${REPO} cloned | ||
🤝 Please run the following commands: | ||
cd fab-agon-emulator | ||
git submodule update --init | ||
make | ||
./fab-agon-emulator.exe | ||
🎉 Enjoy! | ||
" |