forked from input-output-hk/mithril
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (25 loc) · 1.49 KB
/
Makefile
File metadata and controls
30 lines (25 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
COMPONENTS = mithril-aggregator mithril-client mithril-client-cli mithril-client-wasm \
mithril-common mithril-relay mithril-signer mithril-stm \
internal/mithril-build-script internal/mithril-cli-helper internal/mithril-doc \
internal/mithril-dmq \
internal/mithril-doc-derive internal/mithril-era internal/mithril-metric internal/mithril-persistence \
internal/mithril-protocol-config \
internal/mithril-resource-pool internal/mithril-ticker \
internal/cardano-node/mithril-cardano-node-chain internal/cardano-node/mithril-cardano-node-internal-database \
internal/signed-entity/mithril-signed-entity-lock internal/signed-entity/mithril-signed-entity-preloader \
internal/tests/mithril-api-spec internal/tests/mithril-test-http-server \
demo/protocol-demo \
mithril-test-lab/mithril-aggregator-fake mithril-test-lab/mithril-end-to-end
GOALS := $(or $(MAKECMDGOALS),all)
NON_COMPONENT_GOALS := check-format format
.PHONY: $(GOALS) $(COMPONENTS) $(NON_COMPONENT_GOALS)
$(filter-out $(NON_COMPONENT_GOALS),$(GOALS)): $(COMPONENTS)
$(COMPONENTS):
$(MAKE) -C $@ $(MAKECMDGOALS)
check-format:
@echo 'Note: Rust is not checked by this recipe, use `make check`'
@which prettier >/dev/null || echo 'It seems 'prettier' is not installed or not in the path. see https://prettier.io/docs/en/install';
prettier --check .
format:
@which prettier >/dev/null || echo 'It seems 'prettier' is not installed or not in the path. see https://prettier.io/docs/en/install';
prettier --write .