File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 66
77if [ " $1 " == " " -o " $1 " == " -h" -o " $1 " == " --help" ]; then
88 echo " PLT lab 1 testsuite runner"
9- echo " usage: $0 GRAMMARFILE"
9+ echo " usage: $0 [OPTIONS] GRAMMARFILE"
10+ echo " Takes the same options as plt-test-lab1:"
11+ cabal run plt-test-lab1
1012 exit 1
1113fi
1214
13- cabal run plt-test-lab1 -- " $1 "
15+ cabal run plt-test-lab1 -- " $@ "
1416
1517# EOF
Original file line number Diff line number Diff line change 66
77if [ " $1 " == " " -o " $1 " == " -h" -o " $1 " == " --help" ]; then
88 echo " PLT lab 1 testsuite runner"
9- echo " usage: $0 GRAMMARFILE"
9+ echo " usage: $0 [OPTIONS] GRAMMARFILE"
10+ echo " Takes the same options as plt-test-lab1:"
11+ runghc plt-test-lab1
1012 exit 1
1113fi
1214
13- runghc plt-test-lab1 -- " $1 "
15+ runghc plt-test-lab1 -- " $@ "
1416
1517# EOF
Original file line number Diff line number Diff line change 66
77if [ " $1 " == " " -o " $1 " == " -h" -o " $1 " == " --help" ]; then
88 echo " PLT lab 1 testsuite runner"
9- echo " usage: $0 GRAMMARFILE"
9+ echo " usage: $0 [OPTIONS] GRAMMARFILE"
10+ echo " Takes the same options as plt-test-lab1:"
11+ stack run
1012 exit 1
1113fi
1214
13- stack run -- " $1 "
15+ stack run -- " $@ "
1416
1517# EOF
You can’t perform that action at this time.
0 commit comments