-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
61 lines (40 loc) · 1.29 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
56
57
58
59
60
61
default: versioncheck
all: stubs java-build bin
stubs: java-stubs python-stubs
bin: java-build
java: java-stubs java-build
python: python-stubs
java-build:
./gradlew assemble build
clean:
./gradlew clean
scripts:
./gradlew installDist
jars:
./gradlew -b build.gradle java_server java_client kotlin_server kotlin_client
app:
./gradlew -b build-applications.gradle installDist
java-stubs:
./gradlew generateProto
python-stubs:
mkdir -p ./build/generated/source/python
touch ./build/generated/source/python/__init__.py
python3 -m grpc_tools.protoc -I. --python_out=./build/generated/source/python --grpc_python_out=./build/generated/source/python --proto_path=./src/main/proto helloworld.proto
java-client:
build/install/grpc-helloworld/bin/java-helloworld-client
java-server:
build/install/grpc-helloworld/bin/java-helloworld-server
kotlin-client:
build/install/grpc-helloworld/bin/kotlin-helloworld-client
kotlin-server:
build/install/grpc-helloworld/bin/kotlin-helloworld-server
python-client:
python3 src/main/python/helloworld_client.py
python-server:
python3 src/main/python/helloworld__server.py
refresh:
./gradlew --refresh-dependencies dependencies
versioncheck:
./gradlew dependencyUpdates
upgrade-wrapper:
./gradlew wrapper --gradle-version=8.11.1 --distribution-type=bin