docs: project template design - root and custom directories

Aperta
#474 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@practicalli-johnny ci sta già lavorando.

Dal 16/5/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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`

Lingua principale
Makefile
Stelle
117
Fork
36
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di practicalli/clojure

Tutte le issue di practicalli/clojure

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.