forked from apache/dubbo-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (30 loc) · 1.3 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
default: build-interpret-util build-dubbo
build-dubbo: clean-dubbo
./node_modules/.bin/tsc --project ./packages/dubbo/tsconfig.json
./node_modules/.bin/tsc --project ./packages/dubbo/tsconfig-es6.json
@echo "compile duboo successfully 👌\n"
clean-dubbo:
rm -rf ./packages/dubbo/es6
rm -rf ./packages/dubbo/es7
@echo "clean dubbo successfully 👌\n"
build-interpret-util:clean-interpret-util
./node_modules/.bin/tsc --project ./packages/interpret-util/tsconfig.json
@echo "compile interpret-util successfully 👌\n"
clean-interpret-util:
rm -rf ./packages/interpret-util/lib
@echo "clean interpret-util successfully 👌\n"
build-demo-api:clean-demo-api
cd ./java/dubbo-demo/dubbo-demo-api && mvn package
cd ./java/dubbo-demo/dubbo-demo-api && mvn install dependency:copy-dependencies
@echo "build demo-api successfully 👌\n"
clean-demo-api:
cd ./java/dubbo-demo/dubbo-demo-api && mvn clean
@echo "clean demo-api successfully 👌\n"
interpret-jar:build-demo-api
ts-node ./packages/interpret-cli/src/cli.ts interpret -c dubbo.json
build-dubbo-invoker:clean-dubbo-invoker
./node_modules/.bin/tsc --project ./packages/dubbo-invoker/tsconfig.json
@echo "compile dubbo-invoker successfully 👏\n"
clean-dubbo-invoker:
rm -rf ./packages/dubbo-invoker/lib
@echo "clean dubbo-invoker successfully 👏\n"