我创建了一个新应用程序,Dart编辑器(M4)创建了大量文件和文件夹.现在我不确定我能安全放入gitignore.这是树:
app/.buildlog
app/build.dart
app/packages/analyzer_experimental
app/packages/args
app/packages/browser
app/packages/csslib
app/packages/html5lib
app/packages/js
app/packages/logging
app/packages/meta
app/packages/pathos
app/packages/source_maps
app/packages/unittest
app/packages/web_ui
app/pubspec.lock
app/pubspec.yaml
app/web/app.css
app/web/app.dart
app/web/app.html
app/web/out/app.css
app/web/out/app.dart
app/web/out/app.dart.map
app/web/out/app.html
app/web/out/app.html_bootstrap.dart
app/web/out/packages
app/web/out/xclickcounter.dart
app/web/out/xclickcounter.dart.map
app/web/packages
app/web/xclickcounter.dart
app/web/xclickcounter.html
Run Code Online (Sandbox Code Playgroud)
我假设可以忽略以下文件:
app/.buildlog
app/packages/*
app/web/out/*
app/web/packages
Run Code Online (Sandbox Code Playgroud)
那是对的吗?
Ale*_*uin 19
# files and directories created by pub
.dart_tool/
.packages
.pub/
build/
pubspec.lock # Except for application packages
# API documentation directory created by dartdoc
doc/api/
# files and directories created by other development environments
*.iml # IntelliJ
*.ipr # IntelliJ
*.iws # IntelliJ
.idea/ # IntelliJ
.DS_Store # Mac
# generated JavaScript files
*.dart.js
*.info.json # Produced by the --dump-info flag.
*.js # When generated by dart2js. Don't specify *.js if your
# project includes source files written in JavaScript.
*.js_
*.js.deps
*.js.map
Run Code Online (Sandbox Code Playgroud)
不要提交以下由 pub、Dart Editor 和 dart2js 创建的文件和目录:
packages/
pubspec.lock // Except for application packages
.project
.buildlog
*.js_
*.js.deps
*.js.map
Run Code Online (Sandbox Code Playgroud)
不要提交其他开发环境删除的文件和目录。例如:
.project // Eclipse
*.iml // IntelliJ
*.ipr // IntelliJ
*.iws // IntelliJ
.idea/ // IntelliJ
.DS_Store // Mac
Run Code Online (Sandbox Code Playgroud)
避免提交生成的 JavaScript 文件:
*.dart.js
Run Code Online (Sandbox Code Playgroud)
有关更多详细信息,请阅读https://www.dartlang.org/tools/private-files.html。
| 归档时间: |
|
| 查看次数: |
1310 次 |
| 最近记录: |