Skip to content

Commit b096743

Browse files
authored
Merge pull request #11 from jjoshm/master
fix makefile setup target
2 parents bcb18c9 + 1f44621 commit b096743

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ BINDINGS_OUT_PATH=$(CONTRACTS_PATH)/out/$(BINDINGS_FOLDER)
1515
bindings:
1616
rm -rf $(BINDINGS_CRATES_FOLDER)
1717
rm -rf $(BINDINGS_OUT_PATH)
18-
18+
1919
# Generate new bindings
2020
@forge bind --root $(CONTRACTS_PATH) --crate-name $(BINDINGS_FOLDER)
21-
21+
2222
# Move bindings to the correct location
2323
@mv -f $(BINDINGS_OUT_PATH) $(CRATES_FOLDER)
2424

2525
# Target for building the project
2626
build: bindings
2727
@$(CARGO) build
28-
28+
2929
# Target for building the project in release mode
3030
build-release: bindings
3131
@$(CARGO) build --release
@@ -47,8 +47,8 @@ test:
4747

4848
# Target for installing forge dependencies
4949
setup:
50-
@forge install
50+
@forge install --root $(CONTRACTS_PATH)
5151

5252

5353
# Declare phony targets
54-
.PHONY: build build-release clean fmt bindings
54+
.PHONY: build build-release clean fmt bindings

0 commit comments

Comments
 (0)