From 071d8034a43f148c3f28b96fc6f3889e583527c1 Mon Sep 17 00:00:00 2001 From: Yufei LI Date: Mon, 20 Apr 2026 00:31:16 +0800 Subject: [PATCH 1/4] Add .gitignore for MoonBit --- MoonBit.gitignore | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 MoonBit.gitignore diff --git a/MoonBit.gitignore b/MoonBit.gitignore new file mode 100644 index 0000000000..bacb7810d6 --- /dev/null +++ b/MoonBit.gitignore @@ -0,0 +1,33 @@ +# Build System Artifacts +_build/ # MoonBit default build output directory. +.moon/ # MoonBit internal cache and metadata directory. +.mooncakes/ # Local MoonBit package cache directory. + +# Coverage and Test Artifacts +moonbit-coverage-*.txt # Coverage reports generated by MoonBit tooling. +_coverage # Coverage output directory used by coverage commands. +bisect.coverage # Bisect runtime coverage data file. +*.log # Log files generated during test/build runs. + +# JavaScript Target Artifacts +# *.js # Uncomment if generated JavaScript should be ignored. +*.js.map # Source map files generated for JavaScript output. +node_modules/ # Node.js dependencies used in JS target workflows. + +# WebAssembly Target Artifacts +*.wasm # Compiled WebAssembly binaries. +*.wat # WebAssembly text format output. + +# MoonBit Pilot / Agent Artifacts +.moonagent/ # MoonBit agent runtime state and temporary files. +moonagent.log # MoonBit agent log output. + +# LLVM Backend Artifacts +*.ll # LLVM textual intermediate representation (IR) files. +*.bc # LLVM bitcode files. +*.o # Native object files from LLVM/native compilation. +*.s # Generated assembly source files. +*.out # Default executable output name on Unix-like systems. +*.exe # Native executable output on Windows. +*.dSYM/ # macOS debug symbol bundles. +bin/ # Common custom directory for final native binaries. From 4a96a23dfd7a954c5ae5c58bbadbbbcf3b8bcd50 Mon Sep 17 00:00:00 2001 From: Yufei LI Date: Mon, 20 Apr 2026 01:01:50 +0800 Subject: [PATCH 2/4] fix: Remove deprecated folder and logs --- MoonBit.gitignore | 3 --- 1 file changed, 3 deletions(-) diff --git a/MoonBit.gitignore b/MoonBit.gitignore index bacb7810d6..e813b5ed23 100644 --- a/MoonBit.gitignore +++ b/MoonBit.gitignore @@ -1,13 +1,11 @@ # Build System Artifacts _build/ # MoonBit default build output directory. -.moon/ # MoonBit internal cache and metadata directory. .mooncakes/ # Local MoonBit package cache directory. # Coverage and Test Artifacts moonbit-coverage-*.txt # Coverage reports generated by MoonBit tooling. _coverage # Coverage output directory used by coverage commands. bisect.coverage # Bisect runtime coverage data file. -*.log # Log files generated during test/build runs. # JavaScript Target Artifacts # *.js # Uncomment if generated JavaScript should be ignored. @@ -20,7 +18,6 @@ node_modules/ # Node.js dependencies used in JS target workflows. # MoonBit Pilot / Agent Artifacts .moonagent/ # MoonBit agent runtime state and temporary files. -moonagent.log # MoonBit agent log output. # LLVM Backend Artifacts *.ll # LLVM textual intermediate representation (IR) files. From 47eaa84be9229c9bd3292344e882efc1f7f03de1 Mon Sep 17 00:00:00 2001 From: Yufei LI Date: Mon, 20 Apr 2026 01:14:53 +0800 Subject: [PATCH 3/4] fix: Remove bin --- MoonBit.gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/MoonBit.gitignore b/MoonBit.gitignore index e813b5ed23..9395230345 100644 --- a/MoonBit.gitignore +++ b/MoonBit.gitignore @@ -27,4 +27,3 @@ node_modules/ # Node.js dependencies used in JS target workflows. *.out # Default executable output name on Unix-like systems. *.exe # Native executable output on Windows. *.dSYM/ # macOS debug symbol bundles. -bin/ # Common custom directory for final native binaries. From b632b12ac9237295ec6884148b93fdabe74b0b26 Mon Sep 17 00:00:00 2001 From: Yufei Li Date: Mon, 27 Apr 2026 15:21:45 +0800 Subject: [PATCH 4/4] fix: Fix comment style issues --- MoonBit.gitignore | 60 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 18 deletions(-) diff --git a/MoonBit.gitignore b/MoonBit.gitignore index 9395230345..b4ddc16d7f 100644 --- a/MoonBit.gitignore +++ b/MoonBit.gitignore @@ -1,29 +1,53 @@ # Build System Artifacts -_build/ # MoonBit default build output directory. -.mooncakes/ # Local MoonBit package cache directory. + +# MoonBit default build output directory. +_build/ +# Local MoonBit package cache directory. +.mooncakes/ # Coverage and Test Artifacts -moonbit-coverage-*.txt # Coverage reports generated by MoonBit tooling. -_coverage # Coverage output directory used by coverage commands. -bisect.coverage # Bisect runtime coverage data file. + +# 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 -# *.js # Uncomment if generated JavaScript should be ignored. -*.js.map # Source map files generated for JavaScript output. -node_modules/ # Node.js dependencies used in JS target workflows. + +# 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 -*.wasm # Compiled WebAssembly binaries. -*.wat # WebAssembly text format output. + +# Compiled WebAssembly binaries. +*.wasm +# WebAssembly text format output. +*.wat # MoonBit Pilot / Agent Artifacts -.moonagent/ # MoonBit agent runtime state and temporary files. + +# MoonBit agent runtime state and temporary files. +.moonagent/ # LLVM Backend Artifacts -*.ll # LLVM textual intermediate representation (IR) files. -*.bc # LLVM bitcode files. -*.o # Native object files from LLVM/native compilation. -*.s # Generated assembly source files. -*.out # Default executable output name on Unix-like systems. -*.exe # Native executable output on Windows. -*.dSYM/ # macOS debug symbol bundles. + +# 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/