mirror of
https://github.com/italicsjenga/gba.git
synced 2025-01-23 07:56:33 +11:00
[fix] Initializer usage
This commit is contained in:
parent
9ad09cf9f2
commit
326db6990a
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
6
init.sh
6
init.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue