11 lines
178 B
Bash
Executable file
11 lines
178 B
Bash
Executable file
# exit if anything fails
|
|
set -e
|
|
|
|
INPUT=$(realpath $1)
|
|
|
|
mkdir -p target
|
|
|
|
cd holey-bytes/hbasm
|
|
cat $INPUT | cargo run > ../../target/out
|
|
cd ../hbvm
|
|
cat ../../target/out | cargo run |