Skip to content

Commit 0cb5286

Browse files
authored
Update .gitattributes
1 parent 74899bb commit 0cb5286

File tree

1 file changed

+35
-6
lines changed

1 file changed

+35
-6
lines changed

.gitattributes

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,48 @@
1-
# Ignore build artifacts
1+
# 📦 Build Artifacts (auto-generated)
22
build/** linguist-generated
33

4-
# Ignore native iOS/Android build tool files
4+
# 📱 iOS Native (Pods are vendored)
55
ios/Pods/** linguist-vendored
6+
ios/Runner/GeneratedPluginRegistrant.* linguist-generated
7+
8+
# 🤖 Android Native
69
android/.gradle/** linguist-generated
710
android/build/** linguist-generated
11+
android/app/src/main/jniLibs/** linguist-vendored
12+
android/app/src/main/cpp/** linguist-vendored
813

9-
# Ignore native desktop embedding code
14+
# 🖥️ Desktop Embedding
1015
windows/** linguist-vendored
1116
linux/** linguist-vendored
1217
macos/** linguist-vendored
1318

14-
# Make Dart language count
19+
# ⚙️ Native Build Systems (C/C++/CMake)
20+
*.c linguist-vendored
21+
*.cpp linguist-vendored
22+
*.cc linguist-vendored
23+
*.h linguist-vendored
24+
*.hpp linguist-vendored
25+
*.cmake linguist-vendored
26+
CMakeLists.txt linguist-vendored
27+
28+
# ☕ Mobile Native Languages
29+
*.swift linguist-vendored
30+
*.kt linguist-vendored
31+
*.kts linguist-vendored
32+
*.java linguist-vendored
33+
*.mm linguist-vendored
34+
*.m linguist-vendored
35+
36+
# 🌐 HTML (docs or web UI not core to repo)
37+
*.html linguist-vendored
38+
*.htm linguist-vendored
39+
40+
# ✅ Primary Language - Dart
1541
*.dart linguist-detectable
1642

17-
# Optional: Ignore IDE config folders
43+
# 🧠 IDE & Tooling
1844
.idea/** linguist-generated
19-
.vscode/** linguist-generated
45+
.vscode/** linguist-generated
46+
.flutter-plugins-dependencies linguist-generated
47+
.packages linguist-generated
48+
pubspec.lock linguist-generated

0 commit comments

Comments
 (0)