Skip to content

Commit a2c2fae

Browse files
feat: add installation target to Makefile for ipc-cli and fendermint (#1497)
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 81407c9 commit a2c2fae

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ build-with-ui:
1515
./target/release/ipc-cli --version
1616
./target/release/fendermint --version
1717

18+
install: default
19+
@echo "Installing binaries to ~/.cargo/bin..."
20+
@mkdir -p ~/.cargo/bin
21+
@cp ./target/release/ipc-cli ~/.cargo/bin/ipc-cli
22+
@cp ./target/release/fendermint ~/.cargo/bin/fendermint
23+
@chmod +x ~/.cargo/bin/ipc-cli ~/.cargo/bin/fendermint
24+
@echo "Installation complete! Make sure ~/.cargo/bin is in your PATH."
25+
@echo "Installed: ipc-cli and fendermint"
26+
1827
SUBTREES_RUST := fendermint ipc ipld/resolver
1928
SUBTREES_CONTRACTS := contracts
2029
SUBTREES_ALL := $(SUBTREES_RUST) $(SUBTREES_CONTRACTS)

0 commit comments

Comments
 (0)