Skip to content

Migrate from Leiningen to deps.edn and tools.build - #14

Merged
chadhs merged 4 commits into
masterfrom
cursor/deps-edn-migration-e4c6
Aug 1, 2026
Merged

chadhs merged 4 commits into
masterfrom
cursor/deps-edn-migration-e4c6

Conversation

@chadhs

@chadhs chadhs commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace project.clj / Leiningen with deps.edn aliases for :run, :dev-main, :migrate, :css, :test, and :build
  • Add build.clj (tools.build uberjar + Garden CSS compile) and dev/ helpers for CSS watch + reloadable server
  • Switch local env from profiles.clj to .env via dev.env.example and scripts/with-env.sh
  • Update GitHub Actions, FreeBSD deploy scripts/docs, and README for the Clojure CLI workflow

Test plan

  • clj -M:migrate against local Postgres
  • clj -M:test — 5 tests, 28 assertions, 0 failures
  • ./run-tests-local.sh
  • clj -T:build ubertarget/self-destruct.jar; java -jar … --help works
  • clj -M:css once writes resources/public/css/style.css
  • Confirm CI on this PR (migrate + test + uberjar) is green
  • Optional smoke: ./scripts/with-env.sh clj -M:dev-main locally
Open in Web Open in Cursor 

Replace project.clj with Clojure CLI aliases for run, migrate, test, CSS, and uberjar builds, and update CI, FreeBSD scripts, and docs to match.

Co-authored-by: Chad Stovern <chadhs@users.noreply.github.com>
@chadhs
chadhs marked this pull request as ready for review July 31, 2026 23:30
chadhs and others added 3 commits July 31, 2026 19:54
Prefer existing process environment variables so FreeBSD/CI exports still win, and drop scripts/with-env.sh.

Co-authored-by: Cursor <cursoragent@cursor.com>
Remove private multi-app / DDNS specifics so the guide stays generic for open-source readers.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ide.

Keep CDN-off-until-certs, www-on-dynamic-IP, and Secure-defaults guidance without private host-specific DDNS details.

Co-authored-by: Cursor <cursoragent@cursor.com>
@chadhs
chadhs merged commit 171636e into master Aug 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants