File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ BINDINGS_OUT_PATH=$(CONTRACTS_PATH)/out/$(BINDINGS_FOLDER)
15
15
bindings :
16
16
rm -rf $(BINDINGS_CRATES_FOLDER )
17
17
rm -rf $(BINDINGS_OUT_PATH )
18
-
18
+
19
19
# Generate new bindings
20
20
@forge bind --root $(CONTRACTS_PATH) --crate-name $(BINDINGS_FOLDER)
21
-
21
+
22
22
# Move bindings to the correct location
23
23
@mv -f $(BINDINGS_OUT_PATH) $(CRATES_FOLDER)
24
24
25
25
# Target for building the project
26
26
build : bindings
27
27
@$(CARGO ) build
28
-
28
+
29
29
# Target for building the project in release mode
30
30
build-release : bindings
31
31
@$(CARGO ) build --release
47
47
48
48
# Target for installing forge dependencies
49
49
setup :
50
- @forge install
50
+ @forge install --root $( CONTRACTS_PATH )
51
51
52
52
53
53
# Declare phony targets
54
- .PHONY : build build-release clean fmt bindings
54
+ .PHONY : build build-release clean fmt bindings
You can’t perform that action at this time.
0 commit comments