-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
55 lines (39 loc) · 1.15 KB
/
Makefile
File metadata and controls
55 lines (39 loc) · 1.15 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
SHELL=/bin/bash -euo pipefail
install: install-node install-python
install-python:
poetry install
install-node:
npm install --legacy-peer-deps
cd docker/hello-world-sandbox && npm install --legacy-peer-deps && cd ../../tests && npm install --legacy-peer-deps
serve: update-examples
npm run serve
clean:
rm -rf build
rm -rf dist
generate-examples: publish
mkdir -p build/examples
poetry run python scripts/generate_examples.py build/hello-world.json build/examples
update-examples: generate-examples
jq -rM . <build/examples/resources/Greeting.json >specification/components/examples/Greeting.json
make publish
check-licenses:
npm run check-licenses
scripts/check_python_licenses.sh
deploy-proxy: update-examples
scripts/deploy_proxy.sh
deploy-spec: update-examples
scripts/deploy_spec.sh
format:
poetry run black **/*.py
build-proxy:
scripts/build_proxy.sh
release: clean publish build-proxy
mkdir -p dist
tar -zcvf dist/package.tar.gz build
cp ecs-proxies-deploy.yml dist/ecs-deploy-all.yml
cp -r build/. dist
cp -r api_tests dist
sandbox: update-examples
cd docker/hello-world-sandbox && npm run start
test:
poetry run pytest tests