Migrate from Leiningen to deps.edn and tools.build - #14
Merged
Merged
Conversation
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
marked this pull request as ready for review
July 31, 2026 23:30
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
project.clj/ Leiningen withdeps.ednaliases for:run,:dev-main,:migrate,:css,:test, and:buildbuild.clj(tools.build uberjar + Garden CSS compile) anddev/helpers for CSS watch + reloadable serverprofiles.cljto.envviadev.env.exampleandscripts/with-env.shTest plan
clj -M:migrateagainst local Postgresclj -M:test— 5 tests, 28 assertions, 0 failures./run-tests-local.shclj -T:build uber→target/self-destruct.jar;java -jar … --helpworksclj -M:css oncewritesresources/public/css/style.css./scripts/with-env.sh clj -M:dev-mainlocally