File tree Expand file tree Collapse file tree 3 files changed +20
-14
lines changed Expand file tree Collapse file tree 3 files changed +20
-14
lines changed Original file line number Diff line number Diff line change 5
5
.viminfo
6
6
digest
7
7
diffyscan-params.json
8
+ .DS_Store
Original file line number Diff line number Diff line change @@ -12,14 +12,18 @@ DIFFYSCAN_PARAMS_FILE = diffyscan-params.json
12
12
# TARGETS
13
13
14
14
.PHONY : help
15
- help :
15
+ help : # # Display the current message
16
16
@echo " Available targets:"
17
- @grep -E ' ^[a-zA-Z0-9_-]*:.*?## .*$$' Makefile \
18
- | sed -n ' s/^\(.*\): \(.*\)##\(.*\)/- make \1 \3/p' \
19
- | sed ' s/^- make $$//g'
17
+ @cat Makefile | while IFS= read -r line; do \
18
+ if [[ " $$ line" == " ##" ]]; then \
19
+ echo " " ; \
20
+ elif [[ " $$ line" =~ ^([^:]+):(.* )# #\ (.*)$$ ]]; then \
21
+ echo -e " - make $$ {BASH_REMATCH[1]} \t$$ {BASH_REMATCH[3]}" ; \
22
+ fi ; \
23
+ done
20
24
@for dep in $(AVAILABLE_DEPLOYMENTS ) ; do echo -e " - make $$ dep\t Verify using deployments/$$ dep.json" ; done
21
25
22
- : # #
26
+ # #
23
27
24
28
.PHONY : init
25
29
init : .env # # Check the dependencies and prepare the Docker image
@@ -54,7 +58,7 @@ diff-summary: ## Show the detected mismatches on the latest run under ./diges
54
58
echo -n " Do you want to open them? (y/N) " ; read cont ; \
55
59
[ " $$ cont" == " y" ] && open $$ diffs || true
56
60
57
- : # #
61
+ # #
58
62
59
63
# Generate dynamic rules for each supported deployment:
60
64
Original file line number Diff line number Diff line change @@ -11,16 +11,17 @@ Ensure that you have `make` installed on your system:
11
11
``` sh
12
12
$ make
13
13
Available targets:
14
+ - make help Display the current message
14
15
15
- - make init Check the dependencies and prepare the Docker image
16
- - make clean Clean the generated artifacts
17
- - make diff-summary Show the detected mismatches on the latest run under ./digest
16
+ - make init Check the dependencies and prepare the Docker image
17
+ - make clean Clean the generated artifacts
18
+ - make diff-summary Show the detected mismatches on the latest run under ./digest
18
19
19
- - make osx-sepolia Verify using deployments/osx-sepolia.json
20
- - make admin-sepolia Verify using deployments/admin-sepolia.json
21
- - make multisig-sepolia Verify using deployments/multisig-sepolia.json
22
- - make spp-sepolia Verify using deployments/spp-sepolia.json
23
- - make token-voting-sepolia Verify using deployments/token-voting-sepolia.json
20
+ - make osx-sepolia Verify using deployments/osx-sepolia.json
21
+ - make admin-sepolia Verify using deployments/admin-sepolia.json
22
+ - make multisig-sepolia Verify using deployments/multisig-sepolia.json
23
+ - make spp-sepolia Verify using deployments/spp-sepolia.json
24
+ - make token-voting-sepolia Verify using deployments/token-voting-sepolia.json
24
25
```
25
26
26
27
### Initialization
You can’t perform that action at this time.
0 commit comments