[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 ## For a fast initialization start
```sh ```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 # Contribution

View file

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