mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-04 09:16:52 +08:00
To match discourse_theme CLI behavior, we should skip hidden files/directories (e.g. `.git`), and two regular directories: `node_modules/` and `src/`. Without these excludes, it's very easy for a theme to hit the file count limit. e.g. when trying this with discourse-kanban-board, I got: > The number of files (20366) in the theme has exceeded the maximum allowed number of files (1024) |
||
|---|---|---|
| .. | ||
| base_importer.rb | ||
| directory_importer.rb | ||
| git_importer.rb | ||
| zip_exporter.rb | ||
| zip_importer.rb | ||