vise/examples/compile.bash

14 lines
236 B
Bash
Raw Permalink Normal View History

for f in $(ls $1/*.vis); do
2023-04-15 08:06:03 +02:00
b=$(basename $f)
b=${b%.*}
go run ./dev/asm $1/$b.vis > $1/$b.bin
done
for f in $(ls $1/*.txt.orig); do
b=$(basename $f)
b=${b%.*}
#go run ./dev/asm $1/$b.vis > $1/$b.bin
echo $b
cp -v $f $1/$b
done