-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathprototool.yaml
68 lines (64 loc) · 1.4 KB
/
prototool.yaml
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
62
63
64
65
66
67
68
excludes:
- vendor
- gen
- .idea
- .git
- gql
- helpers
- sortable
- vm
- docs
- bin
- graphik-client-go
protoc:
version: 3.6.1
allow_unused_imports: true
includes:
- /usr/local/include
- /opt/include
lint:
rules:
remove:
- FILE_OPTIONS_REQUIRE_JAVA_MULTIPLE_FILES
- FILE_OPTIONS_REQUIRE_JAVA_PACKAGE
- FILE_OPTIONS_REQUIRE_JAVA_OUTER_CLASSNAME
- FILE_OPTIONS_REQUIRE_PHP_NAMESPACE
- FILE_OPTIONS_REQUIRE_OBJC_CLASS_PREFIX
- FILE_OPTIONS_REQUIRE_CSHARP_CLASS_PREFIX
- FILE_OPTIONS_EQUAL_GO_PACKAGE_PB_SUFFIX
generate:
go_options:
import_path: github.com/graphikDB/graphik
plugins:
- name: go
type: go
flags: plugins=grpc
output: gen/grpc/go
# - name: grpc-gateway
# output: gen/go
# - name: swagger
# output: .
- name: govalidators
type: go
output: gen/grpc/go
- name: doc
flags: html,index.html
output: gen/grpc/docs
- flags: binary,import_style=commonjs
name: js
output: gen/grpc/js
- name: python
flags: plugins=grpc
output: gen/grpc/python
- name: php
flags: plugins=grpc
output: gen/grpc/php
- name: csharp
#flags: plugins=grpc
output: gen/grpc/csharp
- name: java
#flags: plugins=grpc
output: gen/grpc/java
- name: ruby
#flags: plugins=grpc
output: gen/grpc/ruby