Skip to content

Commit f76cec1

Browse files
committed
fix: update Makefile to use relative paths for test helpers
1 parent de57b53 commit f76cec1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,12 @@ setup:
178178
# Compile jlox and copy test helpers
179179
cd craftinginterpreters && make java_chapters
180180
mkdir -p craftinginterpreters/build/gen/{chap04_scanning,chap06_parsing,chap07_evaluating,chap08_statements,chap09_control,chap10_functions,chap13_inheritance}
181-
cp -r interpreter-tester/internal/test_helpers/jlox04/* craftinginterpreters/build/gen/chap04_scanning || true
182-
cp -r interpreter-tester/internal/test_helpers/jlox06/* craftinginterpreters/build/gen/chap06_parsing || true
183-
cp -r interpreter-tester/internal/test_helpers/jlox07/* craftinginterpreters/build/gen/chap07_evaluating || true
184-
cp -r interpreter-tester/internal/test_helpers/jlox08/* craftinginterpreters/build/gen/chap08_statements || true
185-
cp -r interpreter-tester/internal/test_helpers/jlox08/* craftinginterpreters/build/gen/chap09_control || true
186-
cp -r interpreter-tester/internal/test_helpers/jlox08/* craftinginterpreters/build/gen/chap10_functions || true
187-
cp -r interpreter-tester/internal/test_helpers/jlox08/* craftinginterpreters/build/gen/chap13_inheritance || true
181+
cp -r ./internal/test_helpers/jlox04/* craftinginterpreters/build/gen/chap04_scanning || true
182+
cp -r ./internal/test_helpers/jlox06/* craftinginterpreters/build/gen/chap06_parsing || true
183+
cp -r ./internal/test_helpers/jlox07/* craftinginterpreters/build/gen/chap07_evaluating || true
184+
cp -r ./internal/test_helpers/jlox08/* craftinginterpreters/build/gen/chap08_statements || true
185+
cp -r ./internal/test_helpers/jlox08/* craftinginterpreters/build/gen/chap09_control || true
186+
cp -r ./internal/test_helpers/jlox08/* craftinginterpreters/build/gen/chap10_functions || true
187+
cp -r ./internal/test_helpers/jlox08/* craftinginterpreters/build/gen/chap13_inheritance || true
188188

189189
echo "Setup complete!"

0 commit comments

Comments
 (0)