فهرست منبع

ethereum/Makefile: split test-identifiers from test-forge target

This way, running `test-forge` is quicker. `make test` still runs all
the tests.
Csongor Kiss 2 سال پیش
والد
کامیت
b07278c331
1فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  1. 5 2
      ethereum/Makefile

+ 5 - 2
ethereum/Makefile

@@ -61,7 +61,7 @@ flattened: $(patsubst contracts/%, flattened/%, $(FLATTEN_FILES))
 .env: .env.test
 	cp $< $@
 
-test: test-forge test-ganache
+test: test-forge test-identifiers test-ganache
 
 .PHONY: test-ganache
 test-ganache: build .env dependencies
@@ -76,10 +76,13 @@ test-upgrade: build .env node_modules
 	./simulate_upgrades
 
 .PHONY:
-test-forge: dependencies
+test-identifiers: dependencies
 	./compare-method-identifiers.sh contracts/Implementation.sol:Implementation contracts/interfaces/IWormhole.sol:IWormhole
 	./compare-method-identifiers.sh contracts/bridge/BridgeImplementation.sol:BridgeImplementation contracts/bridge/interfaces/ITokenBridge.sol:ITokenBridge
 	./compare-method-identifiers.sh contracts/nft/NFTBridgeImplementation.sol:NFTBridgeImplementation contracts/nft/interfaces/INFTBridge.sol:INFTBridge
+
+.PHONY:
+test-forge: dependencies
 	forge test
 
 clean: