forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (27 loc) · 850 Bytes
/
Makefile
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
31
32
33
34
35
36
37
.PHONY: build test start-frontend start-ui-core
default: build
build:
bazel build //navigator/...
test:
bazel test //navigator/...
start-backend:
$(MAKE) -C backend start
start-frontend:
$(MAKE) -C frontend start
start-ui-core:
$(MAKE) -C frontend start-ui-core
# Updates licensing documentation.
# This documentation includes licensing info for each library that we use.
update-license-docs:
(cd docs/licenses && ./extract-sbt.py)
(cd docs/licenses && ./extract-js.py)
# CI: Makes sure the frontend code is nicely formatted.
lint:
$(MAKE) -C frontend lint
# CI: Makes sure every file has a license header.
check-licenses:
dade-copyright-headers check navigator
# CI: Makes sure licensing documentation is up to date.
check-license-docs:
(cd docs/licenses && ./extract-sbt.py check)
(cd docs/licenses && ./extract-js.py check)