Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates to the gitignore files #960

Merged
merged 1 commit into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@
.packages
.pub
build/
**/lib/generated/**
packages
pubspec.lock
benchmarks/out
doc/

# `dart compile exe` outputs
*.exe

# `dart compile js` outputs
*.js*
*.js
*.js.deps
*.js.map

# `dart compile wasm` outputs
*.wasm
Expand Down
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
[![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)

## Protobuf support for Dart

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

This repository is home to packages related to
[protobuf for Dart](https://pub.dev/documentation/protobuf/latest/).
[protobuf support for Dart](https://pub.dev/documentation/protobuf/latest/).

Package | Description | Published Version
--- | --- | ---
[protobuf](protobuf/) | A support library for the generated code | [![pub package](https://img.shields.io/pub/v/protobuf.svg)](https://pub.dev/packages/protobuf)
[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)
[api_benchmark](api_benchmark/) | Benchmarking for various API calls |
[query_benchmark](query_benchmark/) | Benchmark for encoding and decoding of a "real-world" protobuf |
| Package | Description | Published Version |
| --- | --- | --- |
| [protobuf](protobuf/) | Runtime library for protocol buffers support. | [![pub package](https://img.shields.io/pub/v/protobuf.svg)](https://pub.dev/packages/protobuf) |
| [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)
| [api_benchmark](api_benchmark/) | Benchmarking a number of different api calls. | |
| [benchmarks](benchmarks/) | Benchmarks for various protobuf functions. | |

## Publishing automation

Expand Down
1 change: 1 addition & 0 deletions api_benchmark/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib/generated/**
2 changes: 2 additions & 0 deletions benchmarks/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lib/generated/
out/
2 changes: 1 addition & 1 deletion benchmarks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# BSD-style license that can be found in the LICENSE file.

name: protobuf_benchmarks
description: Benchmarks various protobuf functions
description: Benchmarks for various protobuf functions.
publish_to: none

environment:
Expand Down
2 changes: 1 addition & 1 deletion protoc_plugin/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ benchmark/data/pubspec.link.lock
benchmark/data/hostname.txt
benchmark/data/latest_vm.pb.json
benchmark/lib/generated
out
out/
6 changes: 4 additions & 2 deletions tool/setup.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/bash

wget -O protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protoc-3.17.3-linux-x86_64.zip
wget -O protoc.zip \
https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protoc-3.17.3-linux-x86_64.zip
unzip -d protoc protoc.zip

if [[ -z "${GITHUB_ENV}" ]]; then
# Local mono_repo presubmit run
# Local run
export PATH=$PWD/protoc/bin:$PATH
else
# GitHub Actions
Expand Down
Loading