Skip to content

Commit c764de8

Browse files
committed
add disallow-large-dir command to maintainer.md
1 parent bbe36a3 commit c764de8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/maintainer.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,16 @@
1313
- イベント開催者に記事を書かせる (自分で書いてもよい)
1414
- ut.code(); に参加したメンバーにメンバーページを書かせる
1515
- プロジェクトにプロジェクトページを書かせる
16+
17+
# 引き継ぎ
18+
19+
## Internal Helper について
20+
21+
`disallow-large-dir` を使うと、サイズの大きなディレクトリを自動で弾いてくれます。
22+
23+
```sh
24+
# デフォルト: 5mb contents/[group]/[year]/[article]
25+
nix run github:ut-code/internal-helpers#disallow-large-dir -- --max 1mb contents/*/*/*
26+
```
27+
28+
理想は、CI で各ディレクトリ 1MB 以下に強制したいです。 1 MB を超えるディレクトリはもうそんなに多くないので、行けるはず。

0 commit comments

Comments
 (0)