forked from opticdev/optic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
42 lines (31 loc) · 652 Bytes
/
makefile
File metadata and controls
42 lines (31 loc) · 652 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
domain:
@echo "building domain..."
cd ./domain && sbt publishLocal
.PHONY: domain
domain-js:
@echo "building domain..."
cd ./domain && npm run build
.PHONY: domain-js
editor-local:
@echo "building local editor..."
cd ./webapp && yarn build-local
rm -rf ./api-cli/resources/react
cp -R ./webapp/build ./api-cli/resources/react
.PHONY: editor-local
oas:
@echo "building oas..."
cd ./oas && sbt publishLocal
.PHONY: oas
webapp:
@echo "building webapp"
make domain-js
cd ./webapp && yarn install
cd ./webapp && yarn build
.PHONY: webapp
all:
@echo "building webapp"
make domain
make domain-js
make oas
make webapp
.PHONY: all