boot-bundle icon indicating copy to clipboard operation
boot-bundle copied to clipboard

Support deps.edn

Open borkdude opened this issue 6 years ago • 0 comments

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.

borkdude avatar Jan 19 '19 12:01 borkdude