Skip to content

Commit 5ce397c

Browse files
authored
Fix gitignores for test fixture package configs (#3799)
* fix gitignore for test fixtures * remove broken lines from top level gitignore
1 parent 0f21a01 commit 5ce397c

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ pubspec.lock
77
# Common build output
88
/*/build/
99

10-
# Include package config files from tests which are hand coded
11-
!build_runner_core/test/fixtures/**/.dart_tool/package_config.json
12-
!build_runner_core/test/fixtures/**/pubspec.lock
13-
1410
# Extra files from dart2js that we don't want
1511
build_runner/lib/src/server/graph_viz_main.dart.js.deps
1612
build_runner/lib/src/server/graph_viz_main.dart.js.tar.gz
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Take special care to include the .dart_tool/package_config.json files and
2+
# only those.
3+
4+
# Re-include the .dart_tool dir (can't unexclude files if their parent dir is
5+
# ignored).
6+
!/*/.dart_tool
7+
# Exclude everything under the .dart_tool (but not the dir itself!).
8+
/*/.dart_tool/*
9+
# Re-include the package config file.
10+
!/*/.dart_tool/package_config.json

build_runner_core/test/fixtures/workspace/.gitignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)