[fix] Initializer usage

This commit is contained in:
Joel Santos 2018-11-18 15:33:08 +00:00
parent 9ad09cf9f2
commit 326db6990a
2 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@ crate.
## For a fast initialization start
```sh
curl https://raw.githubusercontent.com/rust-console/gba/master/init.sh -sSf | sh
curl https://raw.githubusercontent.com/rust-console/gba/master/init.sh -sSf | sh APP_NAME
```
# Contribution

View file

@ -1,11 +1,11 @@
#!/bin/sh
echo -n "Type the name of the application / game, followed by [ENTER]: "
read APP_NAME
APP_NAME=$1
TARGET="thumbv4-none-agb"
CRT_LOCAL="crt0.s"
echo "Initializing rust-console gba at: $1"
# initialize cargo
cargo init $APP_NAME --bin