Skip to content

Commit ce53cc8

Browse files
Add protocolbuffers/dart v25.0.0 (#2119)
New plugin versions found. Please review. Co-authored-by: pkwarren <[email protected]>
1 parent 7b34cdf commit ce53cc8

File tree

5 files changed

+28
-0
lines changed

5 files changed

+28
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!Dockerfile
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# syntax=docker/dockerfile:1.19
2+
FROM dart:3.10.1-sdk AS build
3+
4+
WORKDIR /build
5+
RUN git clone --depth 1 --branch protoc_plugin-v25.0.0 https://github.com/google/protobuf.dart.git \
6+
&& cd protobuf.dart/protoc_plugin \
7+
&& dart pub get \
8+
&& dart compile exe bin/protoc_plugin.dart -o /build/protoc-gen-dart
9+
10+
FROM scratch
11+
COPY --from=build --link /etc/passwd /etc/passwd
12+
COPY --from=build --link /runtime/ /
13+
COPY --from=build --link /build/protoc-gen-dart .
14+
USER nobody
15+
ENTRYPOINT [ "/protoc-gen-dart" ]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: v1
2+
name: buf.build/protocolbuffers/dart
3+
plugin_version: v25.0.0
4+
source_url: https://github.com/google/protobuf.dart
5+
description: Base types for Dart. Generates message and enum types.
6+
output_languages:
7+
- dart
8+
spdx_license_id: BSD-3-Clause
9+
license_url: https://github.com/google/protobuf.dart/blob/protoc_plugin-v25.0.0/LICENSE
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:hpYv9sAZdPtt/aX4Re3+xqunwSL/a67sNjm0ku4V5rU=
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:DjxvPGC+7S99FRS6YKHtJAj4xWA+gBjfxh/s3dAiXlo=

0 commit comments

Comments
 (0)