-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (16 loc) · 791 Bytes
/
Copy pathMakefile
File metadata and controls
24 lines (16 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.PHONY: check docs test
install-dfx-cache:
dfx cache install
check: install-dfx-cache
find src -type f -name '*.mo' -print0 | xargs -0 $(shell dfx cache show)/moc $(shell vessel sources) --check
check-mops: install-dfx-cache
find src -type f -name '*.mo' -print0 | xargs -0 $(shell dfx cache show)/moc $(shell mops sources) --check
all: check-strict check-strict-mops docs test
check-strict: install-dfx-cache
find src -type f -name '*.mo' -print0 | xargs -0 $(shell dfx cache show)/moc $(shell vessel sources) -Werror --check
check-strict-mops: install-dfx-cache
find src -type f -name '*.mo' -print0 | xargs -0 $(shell dfx cache show)/moc $(shell mops sources) -Werror --check
docs: install-dfx-cache
$(shell dfx cache show)/mo-doc
test:
printf "yes" | bash test_runner.sh