mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-09-14 12:46:07 -05:00
Merge pull request #164 from lhearachel/build-rom-target
Add convenience target 'rom' to build.sh
This commit is contained in:
@@ -158,6 +158,13 @@ To build the rom, run:
|
||||
If everything works, then the following ROM should be built:
|
||||
- [build/pokeplatinum.us.nds](https://datomatic.no-intro.org/index.php?page=show_record&s=28&n=3541) `sha1: ce81046eda7d232513069519cb2085349896dec7`
|
||||
|
||||
If you want to make modifications to the ROM, you can instead run:
|
||||
```
|
||||
./build.sh rom
|
||||
```
|
||||
|
||||
After which, you should see the built ROM `pokeplatinum.us.nds` in the `build` folder.
|
||||
|
||||
# 4. Docker
|
||||
|
||||
A Dockerfile is provided for your convenience. To begin, setup docker on your local machine following the instructions at https://docs.docker.com/desktop/. Then, run
|
||||
|
||||
2
build.sh
2
build.sh
@@ -13,6 +13,8 @@ export NINJA_STATUS="[%p %f/%t] "
|
||||
# Build the project
|
||||
if [ "$target" = test ]; then
|
||||
"${MESON:-meson}" test -C build "$@"
|
||||
elif [ "$target" = rom ]; then
|
||||
"${MESON:-meson}" compile -C build "pokeplatinum.us.nds"
|
||||
else
|
||||
"${MESON:-meson}" compile -C build "$target" "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user