ColdBox (BoxLang) 用 .gitignore
ColdBox (BoxLang) 用の除外ルール 16 件。そのままリポジトリにコピーして使えます。
BoxLang 用の ColdBox MVC フレームワーク
ColdBox (BoxLang) 用 .gitignore の完全版
# LFGitignore によって生成 - https://lfgitignore.com
# 作成日:2026-10-31 23:57:58 UTC
# 技術:ColdBox (BoxLang)
### ColdBox (BoxLang) ###
WEB-INF
.tmp/**
# 環境変数
.env
.engine/**
# ColdBox 仮想ファイル システム ストレージ
.cbfs/**
logs/**
tests/results/**
# BoxLang のインストール済みモジュール
/boxlang_modules/*
effective-pom.xml
/coldbox/**
/testbox/**
/modules/**
/lib/java/**
**/node_modules/*
npm-debug.log
yarn-error.log
ColdBox (BoxLang) のルールで除外されるもの
以下の各パターンと、.gitignore に含める理由を説明します。
サーブレットの除外設定
| パターン |
除外対象 |
WEB-INF |
サーブレットの除外設定 |
エンジン + データベース + CBFS + シークレット
| パターン |
除外対象 |
.tmp/** |
エンジン + データベース + CBFS + シークレット |
.env |
環境変数 |
.engine/** |
エンジン + データベース + CBFS + シークレット |
.cbfs/** |
ColdBox 仮想ファイル システム ストレージ |
ログ + テスト結果
| パターン |
除外対象 |
logs/** |
ログ + テスト結果 |
tests/results/** |
ログ + テスト結果 |
/boxlang_modules/* |
BoxLang のインストール済みモジュール |
effective-pom.xml |
ログ + テスト結果 |
/coldbox/** |
ログ + テスト結果 |
/testbox/** |
ログ + テスト結果 |
/modules/** |
ログ + テスト結果 |
/lib/java/** |
ログ + テスト結果 |
NPM JS アセット (該当する場合)
| パターン |
除外対象 |
**/node_modules/* |
NPM JS アセット (該当する場合) |
npm-debug.log |
NPM JS アセット (該当する場合) |
yarn-error.log |
NPM JS アセット (該当する場合) |
この ColdBox (BoxLang) 用 .gitignore の使い方
- 上の ColdBox (BoxLang) 用ルールをコピーするか、ファイルを直接ダウンロードしてください。
- Git リポジトリのルートに .gitignore という名前のファイルを作り、ルールを貼り付けます。
- 対象のファイルがすでに追跡されている場合は、git rm -r --cached . を実行して再度コミットしてください。Git の除外ルールは未追跡のファイルにのみ適用されます。
- チーム全員で同じルールを共有できるよう、.gitignore をコミットします。