-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitignore
More file actions
executable file
·111 lines (85 loc) · 3.5 KB
/
.gitignore
File metadata and controls
executable file
·111 lines (85 loc) · 3.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# =============================================================================
# Git Ignore Configuration for Mountain
# =============================================================================
# This file tells Git which files to ignore.
# Some patterns are "negated" (!) to re-include files that were excluded.
#
# IMPORTANT: GitHub has a 100MB hard limit per file. Even with LFS, files
# over 100MB CANNOT be pushed. Use GitHub Releases for distribution.
# =============================================================================
# Ignore everything in Target by default
/Target/*
# But allow specific directories and files
!/Target/debug
!/Target/release
!/Target/x86_64-pc-windows-msvc
# ------------------------------ Debug Build ------------------------------
/Target/debug/*
# Allow specific debug artifacts (with LFS support)
!/Target/debug/bundle
# Allow NSIS installers (these are typically under 100MB with LFS)
!/Target/debug/bundle/nsis
!/Target/debug/bundle/nsis/*.exe
# Allow MSI installers (these are typically under 100MB with LFS)
!/Target/debug/bundle/msi
!/Target/debug/bundle/msi/*.msi
# Allow AppImage (these are typically under 100MB with LFS)
!/Target/debug/bundle/appimage
!/Target/debug/bundle/appimage/*.AppImage
# ------------------------------ EXCLUDE: Files exceeding 100MB ------------------------------
# These files EXCEED GitHub's 100MB limit and CANNOT be pushed even with LFS:
# - DMG files: 100-102 MB
# - node binary in .app bundles: 105 MB
# Use GitHub Releases instead for distribution.
# Ignore DMG files - they exceed 100MB limit
Target/debug/bundle/dmg
# Ignore macOS .app bundles - they contain 105MB node binary
Target/debug/bundle/macos
# ------------------------------ Executables (typically small enough for LFS) ------------------------------
# Main Mountain binary - check size, should be under 100MB
!/Target/debug/*.exe
!/Target/debug/Mountain
!/Target/debug/Mountain.exe
# ------------------------------ Release Build ------------------------------
/Target/release/*
# Allow release bundle directory
!/Target/release/bundle
# Allow NSIS installers
!/Target/release/bundle/nsis
!/Target/release/bundle/nsis/*.exe
# Allow MSI installers
!/Target/release/bundle/msi
!/Target/release/bundle/msi/*.msi
# Allow AppImage
!/Target/release/bundle/appimage
!/Target/release/bundle/appimage/*.AppImage
# ------------------------------ EXCLUDE: Release files exceeding 100MB ------------------------------
# Ignore release DMG files - may exceed 100MB
Target/release/bundle/dmg
# Ignore release .app bundles - may contain large binaries
Target/release/bundle/macos
# Allow executables
!/Target/release/*.exe
!/Target/release/Mountain
!/Target/release/Mountain.exe
# ------------------------------ Windows MSVC Build ------------------------------
/Target/x86_64-pc-windows-msvc/*
# Allow Windows bundle directory
!/Target/x86_64-pc-windows-msvc/bundle
# Allow NSIS installers
!/Target/x86_64-pc-windows-msvc/bundle/nsis
!/Target/x86_64-pc-windows-msvc/bundle/nsis/*.exe
# Allow MSI installers
!/Target/x86_64-pc-windows-msvc/bundle/msi
!/Target/x86_64-pc-windows-msvc/bundle/msi/*.msi
# Allow AppImage
!/Target/x86_64-pc-windows-msvc/bundle/appimage
!/Target/x86_64-pc-windows-msvc/bundle/appimage/*.AppImage
# Allow executables
!/Target/x86_64-pc-windows-msvc/*.exe
# ------------------------------ Documentation ------------------------------
Documentation/Rust/debug
Documentation/Rust/release
Documentation/Rust/.rustc_info.json
Documentation/Rust/.rustdoc_fingerprint.json
Documentation/Rust/CACHEDIR.TAG