Skip to content

Commit 7cb5d80

Browse files
committed
Un-ignore build folders to enable publishing via pub.
1 parent e2b2d3e commit 7cb5d80

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

.gitignore

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,14 @@
4747
**/generated/**
4848

4949
# Gradle build files
50-
**/build/**
50+
# IMPORTANT: ignoring `/build/` folder in any form makes it impossible to publish
51+
# the `build/pub/..` contents due to the recently introduced `pub` tool regulations.
52+
**/build/descriptors
53+
**/build/extracted-include-protos
54+
**/build/extracted-protos
55+
**/build/libs
56+
**/build/resources
57+
**/build/tmp
5158

5259
# Build files produced by the IDE
5360
**/out/**
@@ -94,7 +101,7 @@ hs_err_pid*
94101
# Files and directories created by pub
95102
.dart_tool/
96103
.packages
97-
pubspec.lock
104+
#pubspec.lock
98105

99106
**/*.pb.dart
100107
**/*.pbenum.dart

client/.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Remove the following pattern if you wish to check in your lock file
55
pubspec.lock
66

7-
# Conventional directory for build outputs
8-
build/
7+
# IMPORTANT: ignoring `/build/` folder in any form makes it impossible to publish
8+
# the `build/pub/..` contents due to the recently introduced `pub` tool regulations.
99

1010
# Directory created by dartdoc
1111
doc/api/

codegen/.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Remove the following pattern if you wish to check in your lock file
55
pubspec.lock
66

7-
# Conventional directory for build outputs
8-
build/
7+
# IMPORTANT: ignoring `/build/` folder in any form makes it impossible to publish
8+
# the `build/pub/..` contents due to the recently introduced `pub` tool regulations.
99

1010
# Directory created by dartdoc
1111
doc/api/

0 commit comments

Comments
 (0)