Skip to content

Commit d3f9ad1

Browse files
authored
updates to the gitignore files (#960)
- various updates to the gitignore files (this should address a pub publish warning - the git ignore were accidentally capturing one of the generated json files)
1 parent 950b6a7 commit d3f9ad1

File tree

7 files changed

+19
-17
lines changed

7 files changed

+19
-17
lines changed

.gitignore

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@
44
.packages
55
.pub
66
build/
7-
**/lib/generated/**
8-
packages
97
pubspec.lock
10-
benchmarks/out
118
doc/
129

1310
# `dart compile exe` outputs
1411
*.exe
1512

1613
# `dart compile js` outputs
17-
*.js*
14+
*.js
15+
*.js.deps
16+
*.js.map
1817

1918
# `dart compile wasm` outputs
2019
*.wasm

README.md

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
[![CI status](https://github.com/google/protobuf.dart/workflows/Dart%20CI/badge.svg)](https://github.com/google/protobuf.dart/actions?query=workflow%3A%22Dart%22+branch%3Amaster)
2-
31
## Protobuf support for Dart
42

53
[Protocol Buffers](https://developers.google.com/protocol-buffers) (protobuf)
64
are Google's language-neutral, platform-neutral, extensible mechanism for
75
serializing structured data.
86

97
This repository is home to packages related to
10-
[protobuf for Dart](https://pub.dev/documentation/protobuf/latest/).
8+
[protobuf support for Dart](https://pub.dev/documentation/protobuf/latest/).
119

12-
Package | Description | Published Version
13-
--- | --- | ---
14-
[protobuf](protobuf/) | A support library for the generated code | [![pub package](https://img.shields.io/pub/v/protobuf.svg)](https://pub.dev/packages/protobuf)
15-
[protoc_plugin](protoc_plugin/) | A Dart back-end for the protoc compiler | [![pub package](https://img.shields.io/pub/v/protoc_plugin.svg)](https://pub.dev/packages/protoc_plugin)
16-
[api_benchmark](api_benchmark/) | Benchmarking for various API calls |
17-
[query_benchmark](query_benchmark/) | Benchmark for encoding and decoding of a "real-world" protobuf |
10+
| Package | Description | Published Version |
11+
| --- | --- | --- |
12+
| [protobuf](protobuf/) | Runtime library for protocol buffers support. | [![pub package](https://img.shields.io/pub/v/protobuf.svg)](https://pub.dev/packages/protobuf) |
13+
| [protoc_plugin](protoc_plugin/) | A protobuf protoc compiler plugin used to generate Dart code. | [![pub package] |(https://img.shields.io/pub/v/protoc_plugin.svg)](https://pub.dev/packages/protoc_plugin)
14+
| [api_benchmark](api_benchmark/) | Benchmarking a number of different api calls. | |
15+
| [benchmarks](benchmarks/) | Benchmarks for various protobuf functions. | |
1816

1917
## Publishing automation
2018

api_benchmark/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lib/generated/**

benchmarks/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
lib/generated/
2+
out/

benchmarks/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# BSD-style license that can be found in the LICENSE file.
44

55
name: protobuf_benchmarks
6-
description: Benchmarks various protobuf functions
6+
description: Benchmarks for various protobuf functions.
77
publish_to: none
88

99
environment:

protoc_plugin/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ benchmark/data/pubspec.link.lock
99
benchmark/data/hostname.txt
1010
benchmark/data/latest_vm.pb.json
1111
benchmark/lib/generated
12-
out
12+
out/

tool/setup.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/bin/bash
22

3-
wget -O protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protoc-3.17.3-linux-x86_64.zip
3+
wget -O protoc.zip \
4+
https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protoc-3.17.3-linux-x86_64.zip
45
unzip -d protoc protoc.zip
6+
57
if [[ -z "${GITHUB_ENV}" ]]; then
6-
# Local mono_repo presubmit run
8+
# Local run
79
export PATH=$PWD/protoc/bin:$PATH
810
else
911
# GitHub Actions

0 commit comments

Comments
 (0)