init.sh for lazy installs

This commit is contained in:
yenatch 2013-12-08 21:40:18 -05:00
parent 20c01389cc
commit 81c6bed27d
2 changed files with 20 additions and 14 deletions

View file

@ -12,27 +12,17 @@ Linux dependencies. OSX users already have these after installing Xcode.
sudo apt-get install make gcc bison git python python-setuptools sudo apt-get install make gcc bison git python python-setuptools
Install **rgbds**, a Game Boy assembler:
git clone git://github.com/bentley/rgbds.git Set up the **pokered** repository:
cd rgbds
make
sudo make install
cd ..
Set up the pokered repository:
git clone git://github.com/iimarckus/pokered.git git clone git://github.com/iimarckus/pokered.git
cd pokered cd pokered
git submodule init ./init.sh
git submodule update
sudo easy_install pip Copy the Pokémon Red rom to this directory. Name it **baserom.gbc**.
pip install -r extras/requirements.txt
Put your base rom in the pokered repository. Name it "baserom.gbc". Now **pokered.gbc** can be built from source.
make red make red

16
init.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/sh
# install rgbds
git clone git://github.com/bentley/rgbds.git && \
cd rgbds && \
make && \
sudo make install && \
cd .. && \
rm -rf rgbds
# set up the submodule (extras/)
git submodule init && \
git submodule update && \
sudo easy_install pip && \
pip install -r extras/requirements.txt