Files
hk1234566/task1/SCC_212_Advanced_Programming_Weeks_7/test.sh
louiscklaw d6e3882dd7 update,
2025-02-01 02:01:54 +08:00

39 lines
898 B
Bash

#!/usr/bin/env bash
# rm -rf hello.beam
# erlc ./hello.erl
# erl -noshell -s hello hello_world -s init stop
# rm -rf func_tryout.beam
# erlc ./func_tryout.erl
# erl -noshell -s func_tryout function_test -s init stop
# rm -rf string_index_of.beam
# erlc ./string_index_of.erl
# erl -noshell -s string_index_of start -s init stop
# rm -rf map_tryout.beam
# erlc ./map_tryout.erl
# erl -noshell -s map_tryout hello_world -s init stop
# rm -rf recursion.beam
# erlc ./recursion.erl
# erl -noshell -s recursion start -s init stop
# rm -rf func_tryout.beam
# erlc ./func_tryout.erl
# erl -noshell -s func_tryout start -s init stop
rm -rf cw.beam
erlc ./cw.erl
erl -noshell -s cw start -s init stop
# rm -rf for_loop.beam
# erlc ./for_loop.erl
# erl -noshell -s for_loop start -s init stop
# rm -rf test_list.beam
# erlc ./test_list.erl
# erl -noshell -s test_list start -s init stop
echo 'done'