-
Notifications
You must be signed in to change notification settings - Fork 11
/
conveyor.conf
81 lines (69 loc) · 3.92 KB
/
conveyor.conf
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
69
70
71
72
73
74
75
76
77
78
79
80
81
include required("/stdlib/jdk/21/openjdk.conf")
include required("/stdlib/jvm/default-gui.conf")
conveyor.compatibility-level = 11
app.mac.info-plist.LSMinimumSystemVersion = 14.0 // graal executable
include "#!=protoc.version mvn -q org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=protobuf.version -DforceStdout"
include "#!=project.version mvn -q org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -DforceStdout"
protoc.name = "protoc-quickbuf"
// Artifacts need to be built on different operating systems and then be combined before packaging:
// * mvn clean package --projects protoc-gen-request,protoc-gen-quickbuf -am -PmakeNative,useNative
// * mvn clean package --projects quickbuf-runtime,quickbuf-compat -am -PuseNative
app {
// App information
vendor = "HEBI Robotics"
display-name = "QuickBuffers Plugin"
description = "Plugin for ProtocolBuffers"
fsname = protoc-gen-quickbuf
long-fsname = protoc-gen-quickbuf
rdns-name = us.hebi.protoc-gen-quickbuf
version = 1.4.1
revision = 0
// Icons
icons = "protoc-gen-quickbuf/src/main/deploy/icons/icon-rounded-*.png"
windows.icons = "protoc-gen-quickbuf/src/main/deploy/icons/icon-square-*.png"
windows.manifests.msix.background-color = "#2a3b43"
// Target machines
machines = [ windows.amd64, linux.amd64.glibc, linux.aarch64.glibc, mac.amd64, mac.aarch64 ]
// Update only on manual request
updates = none
mac.deltas = 0
inputs += pom.xml
// Native executables
windows.amd64 {
inputs += protoc-gen-request/target/protoc-gen-request-${project.version}-windows-x86_64.exe -> protoc-gen-request.exe
inputs += protoc-gen-quickbuf/target/protoc-gen-quickbuf-${project.version}-windows-x86_64.exe -> protoc-gen-quickbuf.exe
inputs += protoc-gen-quickbuf/target/protoc/protoc-${protoc.version}-windows-x86_64.exe -> ${protoc.name}.exe
}
mac.amd64 {
bundle-extras += protoc-gen-request/target/protoc-gen-request-${project.version}-osx-x86_64.exe -> MacOS/protoc-gen-request
bundle-extras += protoc-gen-quickbuf/target/protoc-gen-quickbuf-${project.version}-osx-x86_64.exe -> MacOS/protoc-gen-quickbuf
bundle-extras += protoc-gen-quickbuf/target/protoc/protoc-${protoc.version}-osx-x86_64.exe -> MacOS/${protoc.name}
}
mac.aarch64 {
bundle-extras += protoc-gen-request/target/protoc-gen-request-${project.version}-osx-aarch_64.exe -> MacOS/protoc-gen-request
bundle-extras += protoc-gen-quickbuf/target/protoc-gen-quickbuf-${project.version}-osx-aarch_64.exe -> MacOS/protoc-gen-quickbuf
bundle-extras += protoc-gen-quickbuf/target/protoc/protoc-${protoc.version}-osx-aarch_64.exe -> MacOS/${protoc.name}
}
linux.amd64.glibc {
inputs += protoc-gen-request/target/protoc-gen-request-${project.version}-linux-x86_64.exe -> protoc-gen-request
inputs += protoc-gen-quickbuf/target/protoc-gen-quickbuf-${project.version}-linux-x86_64.exe -> protoc-gen-quickbuf
inputs += protoc-gen-quickbuf/target/protoc/protoc-${protoc.version}-linux-x86_64.exe -> ${protoc.name}
}
linux.aarch64.glibc {
inputs += protoc-gen-request/target/protoc-gen-request-${project.version}-linux-aarch_64.exe -> protoc-gen-request
inputs += protoc-gen-quickbuf/target/protoc-gen-quickbuf-${project.version}-linux-aarch_64.exe -> protoc-gen-quickbuf
inputs += protoc-gen-quickbuf/target/protoc/protoc-${protoc.version}-linux-aarch_64.exe -> ${protoc.name}
}
linux.symlinks = [
${app.linux.prefix}/bin/protoc-gen-request -> ${app.linux.install-path}/lib/app/protoc-gen-request
${app.linux.prefix}/bin/protoc-gen-quickbuf -> ${app.linux.install-path}/lib/app/protoc-gen-quickbuf
${app.linux.prefix}/bin/${protoc.name} -> ${app.linux.install-path}/lib/app/${protoc.name}
]
// Release using GitHub Releases
site {
base-url = github.com/HebiRobotics/QuickBuffers/releases/latest/download
consistency-checks = warn
}
vcs-url = github.com/HebiRobotics/QuickBuffers
license = Apache 2
}