Skip to content

Commit ae325bc

Browse files
authored
Merge pull request #2319 from kevmoo/patch-1
Drastically simplify .gitignore for Dart
2 parents a0b4a69 + 39723c4 commit ae325bc

File tree

1 file changed

+3
-24
lines changed

1 file changed

+3
-24
lines changed

Dart.gitignore

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,12 @@
11
# See https://www.dartlang.org/tools/private-files.html
22

33
# Files and directories created by pub
4-
5-
# SDK 1.20 and later (no longer creates packages directories)
64
.packages
75
.pub/
86
build/
9-
10-
# Older SDK versions
11-
# (Include if the minimum SDK version specified in pubsepc.yaml is earlier than 1.20)
12-
.project
13-
.buildlog
14-
**/packages/
15-
16-
17-
# Files created by dart2js
18-
# (Most Dart developers will use pub build to compile Dart, use/modify these
19-
# rules if you intend to use dart2js directly
20-
# Convention is to use extension '.dart.js' for Dart compiled to Javascript to
21-
# differentiate from explicit Javascript files)
22-
*.dart.js
23-
*.part.js
24-
*.js.deps
25-
*.js.map
26-
*.info.json
7+
# If you're building an application, you may want to check-in your pubspec.lock
8+
pubspec.lock
279

2810
# Directory created by dartdoc
11+
# If you don't generate documentation locally you can remove this line.
2912
doc/api/
30-
31-
# Don't commit pubspec lock file
32-
# (Library packages only! Remove pattern if developing an application package)
33-
pubspec.lock

0 commit comments

Comments
 (0)