boot-bundle
boot-bundle copied to clipboard
Support deps.edn
Idea: deps.edn.bundled has :bundle/database, expand into {dependency {:mvn/version ...}} and write deps.edn file. This rewriting should also work for build.boot files. It should preserve comments and whitespace.
Consider using https://github.com/xsc/rewrite-clj
Since boot.bundle.edn files already use top-level maps, it might make sense to support a top level :boot/bundles key in deps.edn files themselves where you can declare the bundles. Then you could have deps.bundle.edn and rewrite that file to deps.edn with the bundles inlined.
https://github.com/seancorfield/boot-tools-deps is also something to look into. Try it on a boot project with a local or git dep in the bundle file and then see if it works.