Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ xcuserdata/
# Dart stuff.
/tool/.dart_tool/
/tool/.packages

# macOS-specific System Files
*.DS_Store
2 changes: 1 addition & 1 deletion jlox
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

script_dir=$(dirname "$0")
script_dir="$(dirname "$(readlink -f "$0")")"
java -cp ${script_dir}/build/java com.craftinginterpreters.lox.Lox $@