(check-directory dir force?)Returns :ok, :empty-exists, :non-empty, or :not-a-dir. If force? is true, always :ok.
Returns :ok, :empty-exists, :non-empty, or :not-a-dir. If force? is true, always :ok.
(generate! dir project-name _opts)Generate project files into dir.
Generate project files into dir.
(git-bootstrap! dir)(git-bootstrap! dir run)Initialise a git repo in dir, point hooks at .githooks, and make an initial
commit. Every step is non-fatal: on any failure, collect a warning and keep
going. run is the git runner (injected for testing); defaults to run-git.
Returns {:ok? bool :warnings [str]}.
The initial commit uses --no-verify so the freshly-written .githooks/pre-commit
(bb check:fcis + lint) does NOT fire here — that hook needs the project's deps
resolved, which would force a network/maven download and defeat the
fast/offline boundary new. The gate is for subsequent human commits.
Initialise a git repo in dir, point hooks at .githooks, and make an initial
commit. Every step is non-fatal: on any failure, collect a warning and keep
going. `run` is the git runner (injected for testing); defaults to run-git.
Returns {:ok? bool :warnings [str]}.
The initial commit uses --no-verify so the freshly-written .githooks/pre-commit
(bb check:fcis + lint) does NOT fire here — that hook needs the project's deps
resolved, which would force a network/maven download and defeat the
fast/offline `boundary new`. The gate is for subsequent human commits.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |