-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
59 lines (42 loc) · 1 KB
/
Makefile
File metadata and controls
59 lines (42 loc) · 1 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
SHELL=/bin/bash -euo pipefail
install: install-node install-python install-fhir-validator install-hooks
install-python:
poetry install
install-node:
npm install
install-hooks:
cp scripts/pre-commit .git/hooks/pre-commit
install-fhir-validator:
mkdir -p bin
test -f bin/org.hl7.fhir.validator.jar || curl https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.validator.jar > bin/org.hl7.fhir.validator.jar
test:
npm run test
lint:
npm run lint
poetry run flake8 **/*.py
find -name '*.sh' | grep -v node_modules | xargs shellcheck
clean:
rm -rf build
rm -rf dist
publish: clean
mkdir -p build
npm run publish 2> /dev/null
serve:
npm run serve
check-licenses:
npm run check-licenses
scripts/check_python_licenses.sh
deploy-proxy:
scripts/deploy_proxy.sh
deploy-spec:
scripts/deploy_spec.sh
format:
poetry run black **/*.py
sandbox:
cd sandbox && npm run start
build-proxy:
scripts/build_proxy.sh
release: clean publish build-proxy
mkdir -p dist
cp -r build/. dist
cp -R terraform dist