Compare commits

...

7 Commits

Author SHA1 Message Date
Tomas Dabašinskas
5684b762f0
Merge 74cf7151d9 into 1046d8fba6 2026-04-27 19:33:38 +00:00
Devin Dooley
1046d8fba6
Merge pull request #4846 from yufeiminds/main
Add .gitignore for MoonBit
2026-04-27 09:16:09 -07:00
Yufei Li
b632b12ac9 fix: Fix comment style issues 2026-04-27 15:21:45 +08:00
Yufei LI
47eaa84be9 fix: Remove bin 2026-04-20 01:14:53 +08:00
Yufei LI
4a96a23dfd fix: Remove deprecated folder and logs 2026-04-20 01:01:50 +08:00
Yufei LI
071d8034a4 Add .gitignore for MoonBit 2026-04-20 00:31:16 +08:00
Tomas Dabašinskas
74cf7151d9
fix(go-gitignore): prevent coverage.go files from being excluded
The current `coverage.*` pattern includes `*.go` files as well. If you use `go vendor`, this causes the following files to be excluded:

- `vendor/golang.org/x/text/internal/language/coverage.go`
- `vendor/golang.org/x/text/language/coverage.go`

This becomes a nightmare to troubleshoot why the local build works, yet a CI fails (as the files were not committed).

Adding `!coverage.go` ensure that `*.go` files do not get accidentally excluded.
2025-12-24 11:45:50 +02:00
2 changed files with 54 additions and 0 deletions

View File

@ -14,6 +14,7 @@
# Code coverage profiles and other test artifacts # Code coverage profiles and other test artifacts
*.out *.out
coverage.* coverage.*
!coverage.go
*.coverprofile *.coverprofile
profile.cov profile.cov

53
MoonBit.gitignore Normal file
View File

@ -0,0 +1,53 @@
# Build System Artifacts
# MoonBit default build output directory.
_build/
# Local MoonBit package cache directory.
.mooncakes/
# Coverage and Test Artifacts
# Coverage reports generated by MoonBit tooling.
moonbit-coverage-*.txt
# Coverage output directory used by coverage commands.
_coverage/
# Bisect runtime coverage data file.
bisect.coverage
# JavaScript Target Artifacts
# Uncomment if generated JavaScript should be ignored.
# *.js
# Source map files generated for JavaScript output.
*.js.map
# Node.js dependencies used in JS target workflows.
node_modules/
# WebAssembly Target Artifacts
# Compiled WebAssembly binaries.
*.wasm
# WebAssembly text format output.
*.wat
# MoonBit Pilot / Agent Artifacts
# MoonBit agent runtime state and temporary files.
.moonagent/
# LLVM Backend Artifacts
# LLVM textual intermediate representation (IR) files.
*.ll
# LLVM bitcode files.
*.bc
# Native object files from LLVM/native compilation.
*.o
# Generated assembly source files.
*.s
# Default executable output name on Unix-like systems.
*.out
# Native executable output on Windows.
*.exe
# macOS debug symbol bundles.
*.dSYM/