Skip to content
language19 個の有効ルール2026-09-30 検証済み

O Caml .gitignore テンプレート

Standard O Caml gitignore template from upstream github/gitignore collection. 公式GitHubリポジトリの最新パターンと決定論的に統合され、パッケージディレクトリ、一時ビルド成果物、ローカル環境ファイルをクリーンに保ちます。

スタック統合ジェネレーター

フルジェネレーターで開く
Search for templates
クイック追加:
選択中1
O Caml
選択されたテンプレート (1)
.gitignore
19 ルール
### O Caml ###
*.annot
*.cmo
*.cma
*.cmi
*.a
*.o
*.cmx
*.cmxs
*.cmxa
# Files containing detailed information about the compilation (generated
# by `ocamlc`/`ocamlopt` when invoked using the option `-bin-annot`).
# These files are typically useful for code inspection tools
# (e.g. Merlin).
*.cmt
*.cmti
# ocamlbuild and Dune default working directory
_build/
# ocamlbuild targets
*.byte
*.native
# oasis generated files
setup.data
setup.log
# Merlin configuring file for Vim and Emacs
.merlin
# Dune generated files
*.install
# Local OPAM switch
_opam/
38 行•UTF-8
決定論的パイプライン

生ソース: O Caml .gitignore

クローラブルな公式アップストリーム原典
ocaml.gitignore•37 lines•UTF-8
*.annot
*.cmo
*.cma
*.cmi
*.a
*.o
*.cmx
*.cmxs
*.cmxa
# Files containing detailed information about the compilation (generated
# by `ocamlc`/`ocamlopt` when invoked using the option `-bin-annot`).
# These files are typically useful for code inspection tools
# (e.g. Merlin).
*.cmt
*.cmti
# ocamlbuild and Dune default working directory
_build/
# ocamlbuild targets
*.byte
*.native
# oasis generated files
setup.data
setup.log
# Merlin configuring file for Vim and Emacs
.merlin
# Dune generated files
*.install
# Local OPAM switch
_opam/

主要除外パターンの解説

ビルド・コンパイル生成物

ビルド処理で生成されるバイナリ、オブジェクトファイル、出力先ディレクトリを除外します。

*.annot*.a*.o_build/

キャッシュ・一時ファイル

コンパイラキャッシュ、テストカバレッジデータ、一時作業ファイルを除外してリポジトリを軽量に保ちます。

setup.log

ソース元とライセンス検証

ライセンス:: CC0-1.0

このファイルをプロジェクトのルートディレクトリに .gitignore というファイル名で配置してください。新規および未追跡ファイルに即座に反映されます。