|
@@ -30,15 +30,17 @@ node_modules: package-lock.json
|
|
|
# Instead, we just specify the dependencies here. make will then take care of
|
|
# Instead, we just specify the dependencies here. make will then take care of
|
|
|
# installing them if they are not yet present.
|
|
# installing them if they are not yet present.
|
|
|
# When adding a new dependency, make sure to specify the exact commit hash, and
|
|
# When adding a new dependency, make sure to specify the exact commit hash, and
|
|
|
-# the --no-git and --no-commit flags (see lib/forge-std below)
|
|
|
|
|
|
|
+# the --no-git flag (see lib/forge-std below)
|
|
|
.PHONY: forge_dependencies
|
|
.PHONY: forge_dependencies
|
|
|
forge_dependencies: lib/forge-std lib/openzeppelin-contracts
|
|
forge_dependencies: lib/forge-std lib/openzeppelin-contracts
|
|
|
|
|
|
|
|
lib/forge-std:
|
|
lib/forge-std:
|
|
|
- forge install foundry-rs/forge-std@v1.5.5 --no-git --no-commit
|
|
|
|
|
|
|
+ forge --version
|
|
|
|
|
+ forge install foundry-rs/forge-std@v1.5.5 --no-git
|
|
|
|
|
|
|
|
lib/openzeppelin-contracts:
|
|
lib/openzeppelin-contracts:
|
|
|
- forge install openzeppelin/openzeppelin-contracts@0457042d93d9dfd760dbaa06a4d2f1216fdbe297 --no-git --no-commit
|
|
|
|
|
|
|
+ forge --version
|
|
|
|
|
+ forge install openzeppelin/openzeppelin-contracts@0457042d93d9dfd760dbaa06a4d2f1216fdbe297 --no-git
|
|
|
|
|
|
|
|
dependencies: node_modules forge_dependencies
|
|
dependencies: node_modules forge_dependencies
|
|
|
|
|
|