forked from quarkusio/code.quarkus.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
58 lines (38 loc) · 1.05 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
dev-api:
cd api && mvn compile quarkus:dev
test-api:
cd api && mvn clean test -DskipITs
start-api:
java -jar api/target/quarkus-app/quarkus-run.jar
it-api:
cd api && mvn clean verify
build-api:
cd api && mvn clean install -DskipTests
docker-build-api:
cd api && docker build -f src/main/docker/Dockerfile.multistage -t quay.io/quarkus/code-quarkus-api .
build-lib:
cd library && yarn && yarn build
test-lib:
cd library && yarn test
tag-lib:
cd library && yarn run tag
link-lib:
cd library && yarn && yarn build && yarn run link;
cd frontend && yarn run link-library;
unlink-lib:
cd frontend && yarn && yarn run unlink-library;
cd library && yarn && yarn run unlink;
dev:
cd api && mvn quarkus:dev
test-frontend:
cd frontend && yarn && yarn test
build-frontend:
cd frontend && yarn && yarn build
start-frontend:
cd frontend && yarn run run
docker-build-frontend:
cd frontend && docker build -f docker/Dockerfile.multistage -t quay.io/quarkus/code-quarkus-frontend .
compose:
docker-compose up
deploy-openshift:
cd openshift && ./deploy.sh;