Skip to content

Commit

Permalink
Fix dev install (#2369)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewtun authored Nov 19, 2024
1 parent b80c1a6 commit 066fc37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ COMMAND_FILES_PATH = `pwd`/commands


dev:
[ -L "$(pwd)/trl/commands/scripts" ] && unlink "$(pwd)/trl/commands/scripts" || true
@if [ -L "$(pwd)/trl/commands/scripts" ]; then unlink "$(pwd)/trl/commands/scripts"; fi
@if [ -e "$(pwd)/trl/commands/scripts" ] && [ ! -L "$(pwd)/trl/commands/scripts" ]; then rm -rf "$(pwd)/trl/commands/scripts"; fi
pip install -e ".[dev]"
ln -s `pwd`/examples/scripts/ `pwd`/trl/commands

Expand Down

0 comments on commit 066fc37

Please sign in to comment.