Update run script to accept filename
This commit is contained in:
parent
d27b20215b
commit
1e96649593
1 changed files with 3 additions and 1 deletions
4
run.sh
4
run.sh
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
filename="${1%.*}"
|
||||
rom_filename="${filename}.rom"
|
||||
|
||||
../uxn/bin/uxnasm 99_bottles.tal 99_bottles.rom && ../uxn/bin/uxncli 99_bottles.rom
|
||||
../uxn/bin/uxnasm $1 $rom_filename && ../uxn/bin/uxncli $rom_filename
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue