File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed
Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ DIR=$(dirname $(realpath $0))
55$DIR /../scripts/test-deno.sh $DIR " cmd/main.deno.ts"
66$DIR /../scripts/test-go.sh $DIR " cmd/main.go"
77$DIR /../scripts/test-node.sh $DIR " cmd/main.node.mjs"
8- $DIR /../scripts/test-py.sh $DIR " cmd/main.py"
8+ $DIR /../scripts/test-py.sh $DIR " cmd/main.py"
Original file line number Diff line number Diff line change 44# Usage: ../test-deno.sh DIR CMD
55# Example: ../test-deno.sh /adventofcode2020/day-03 cmd/main.deno.ts
66
7- DIR=$1
8- CMD=$2
7+ DIR=" $1 "
8+ CMD=" $2 "
99
1010cat " $DIR /input" | deno run " $DIR /$CMD " | diff - " $DIR /output"
1111echo " $DIR / deno run $CMD ✅"
Original file line number Diff line number Diff line change 44# Usage: ../test-go.sh DIR CMD
55# Example: ../test-go.sh /adventofcode2020/day-03 cmd/main.go
66
7- DIR=$1
8- CMD=$2
7+ DIR=" $1 "
8+ CMD=" $2 "
99
1010cat " $DIR /input" | go run " $DIR /$CMD " | diff - " $DIR /output"
1111echo " $DIR / go run $CMD ✅"
Original file line number Diff line number Diff line change 44# Usage: ../test-node.sh DIR CMD
55# Example: ../test-node.sh /adventofcode2020/day-03 cmd/main.node.mjs
66
7- DIR=$1
8- CMD=$2
7+ DIR=" $1 "
8+ CMD=" $2 "
99
1010cat " $DIR /input" | node " $DIR /$CMD " | diff - " $DIR /output"
1111echo " $DIR / node $CMD ✅"
Original file line number Diff line number Diff line change 44# Usage: ../test-py.sh DIR CMD
55# Example: ../test-py.sh /adventofcode2020/day-03 cmd/main.py
66
7- DIR=$1
8- CMD=$2
7+ DIR=" $1 "
8+ CMD=" $2 "
99
1010cat " $DIR /input" | python3 " $DIR /$CMD " | diff - " $DIR /output"
1111echo " $DIR / python3 $CMD ✅"
You can’t perform that action at this time.
0 commit comments