forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
17 lines (15 loc) · 690 Bytes
/
Makefile
File metadata and controls
17 lines (15 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DEPRECATED_TARGETS := test test-ws test-actions test-http test-cannon test-fault-proofs cannon-prestates pre-test clean fuzz
include ../justfiles/deprecated.mk
# gen-binding needs a manual shim because CONTRACT is a positional arg in just,
# not an env var. The generic shim would produce `just CONTRACT=X gen-binding`
# but just needs `just gen-binding X`.
.PHONY: gen-binding
gen-binding:
ifndef CONTRACT
$(error CONTRACT is required: make gen-binding CONTRACT=OPContractsManager)
endif
@echo
@printf '%s\n' 'Deprecated make call: make gen-binding CONTRACT=$(CONTRACT)'
@printf '%s\n' 'Consider using just instead: just gen-binding $(CONTRACT)'
@echo
just gen-binding $(CONTRACT)