We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eca2373 commit 42e9a08Copy full SHA for 42e9a08
1 file changed
Makefile
@@ -1,6 +1,6 @@
1
# Makefile for Foundry Ethereum Development Toolkit
2
3
-.PHONY: build test format snapshot anvil deploy deploy-anvil cast help subgraph
+.PHONY: build test format snapshot anvil deploy deploy-anvil cast help subgraph clear_anvil_port
4
5
build:
6
@echo "Building with Forge..."
@@ -20,6 +20,7 @@ snapshot:
20
21
anvil:
22
@echo "Starting Anvil local Ethereum node..."
23
+ @make clear_anvil_port
24
@anvil
25
26
deploy-anvil:
@@ -76,3 +77,6 @@ help:
76
77
@anvil --help
78
@echo "Cast help..."
79
@cast --help
80
+
81
+clear_anvil_port:
82
+ -fuser -k -n tcp 8545
0 commit comments