Skip to content

Commit

Permalink
Fix dojoup script when installing from git (dojoengine#1895)
Browse files Browse the repository at this point in the history
fix install cmd
  • Loading branch information
kariy authored Apr 27, 2024
1 parent 19fb8e9 commit 6b6219f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dojoup/dojoup
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,11 @@ EOF
ensure git checkout "$DOJOUP_COMMIT"
fi

# Build the repo and install the binaries locally to the .dojo bin directory.
# --root appends /bin to the directory it is given, so we pass DOJO_DIR.
ensure cargo install --path ./dojo --bin dojo --locked --force --root "$DOJO_DIR"
for bin in "${BINS[@]}"; do
# Build the repo and install the binaries locally to the .dojo bin directory.
# --root appends /bin to the directory it is given, so we pass DOJO_DIR.
ensure cargo install --path ./bin/$bin $bin --locked --force --root "$DOJO_DIR"
done

say "done"
welcome_msg
Expand Down

0 comments on commit 6b6219f

Please sign in to comment.