-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (25 loc) · 1.01 KB
/
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
.PHONY: *
# Default from OrcaBus API
# https://github.com/umccr/orcabus#running-api-locally
VITE_METADATA_URL ?= http://localhost:8100
VITE_WORKFLOW_URL ?= http://localhost:8200
VITE_SEQUENCE_RUN_URL ?= http://localhost:8300
VITE_FILE_URL ?= http://localhost:8400
install:
@yarn install
@pre-commit install
generate-openapi-types:
@yarn run -B openapi-typescript ${VITE_METADATA_URL}/schema/openapi.json -o ./src/api/types/metadata.d.ts
@yarn run -B openapi-typescript ${VITE_SEQUENCE_RUN_URL}/schema/openapi.json -o ./src/api/types/sequence-run.d.ts
@yarn run -B openapi-typescript ${VITE_WORKFLOW_URL}/schema/openapi.json -o ./src/api/types/workflow.d.ts
@yarn run -B openapi-typescript ${VITE_FILE_URL}/schema/openapi.json -o ./src/api/types/file.d.ts
start: generate-openapi-types
@yarn run start
deploy-dev:
@yarn build
@aws s3 cp ./dist s3://orcaui-cloudfront-843407916570/ --recursive
@aws lambda invoke \
--function-name CodeBuildEnvConfigLambdaBeta \
response.json
storybook:
@yarn run storybook