docs: project template design - root and custom directories

オープン
#474 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@practicalli-johnny がすでに取り組んでいます。

2025年5月16日 から。

評価

この issue はまだ評価されていません。

説明

Describe project template design with respect to different directories in resources/template-domain/, e.g. resources/practicalli/

Existing content:
https://practical.li/clojure/clojure-cli/projects/templates/design-templates/

root

All directories and files are copies as they are into the root directory of the new project.

Use for any files that do not need template rules, e.g. the :transform in the template.edn for the project.

Custom directories

Use custom directories when rules should be applied to files and directories when copying.

  • build
  • src
  • test

src and test paths have the domain namespace added, using the top key value, e.g. [["src" "src/{{top/file}}"]] will create files under src/practicalli/

The main src and test namespace can be set using the file key value, e.g. using {{main/file}} src/practicalli/gameboard.cljandtest/practicalli/gameboard_test.clj`

主要言語
Makefile
スター
117
フォーク
36
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

practicalli/clojure のほかの issue

practicalli/clojure の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。