aboutsummaryrefslogtreecommitdiff
path: root/build/bazel/semver
diff options
context:
space:
mode:
authorOla Rozenfeld <olaola@google.com>2018-07-04 14:04:36 -0400
committerOla Rozenfeld <olaola@google.com>2018-07-04 14:05:01 -0400
commit6863fdd13aa293b91e1ad058a5d39f5712cb141c (patch)
treea43a9b4ca2a42ff0c99075c164a372cfedd0ff6b /build/bazel/semver
parentcbf6ada7f5b2a0ce14646bf983d03b49118f0ec8 (diff)
downloadbazelbuild-remote-apis-6863fdd13aa293b91e1ad058a5d39f5712cb141c.tar.gz
Adding supported RE API versions to Server Capabilities
Diffstat (limited to 'build/bazel/semver')
-rw-r--r--build/bazel/semver/BUILD8
-rw-r--r--build/bazel/semver/semver.proto24
2 files changed, 32 insertions, 0 deletions
diff --git a/build/bazel/semver/BUILD b/build/bazel/semver/BUILD
new file mode 100644
index 0000000..c4d6524
--- /dev/null
+++ b/build/bazel/semver/BUILD
@@ -0,0 +1,8 @@
+package(default_visibility = ["//visibility:public"])
+
+licenses(["notice"])
+
+proto_library(
+ name = "semver_proto",
+ srcs = ["semver.proto"],
+)
diff --git a/build/bazel/semver/semver.proto b/build/bazel/semver/semver.proto
new file mode 100644
index 0000000..2caf76b
--- /dev/null
+++ b/build/bazel/semver/semver.proto
@@ -0,0 +1,24 @@
+// Copyright 2018 The Bazel Authors.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package build.bazel.semver;
+
+message SemVer {
+ int32 major = 1;
+ int32 minor = 2;
+ int32 patch = 3;
+ string prerelease = 4;
+}