EwenG / badigeon

A Clojure build library based on tools.deps.
144 stars 19 forks source link

Any support on :local/root dependency? #22

Closed zerg000000 closed 4 years ago

zerg000000 commented 4 years ago

Currently, badigeon will not bundle local dependency any chance to support this?

sample code

mkdir project
cd project/
echo '{:deps {sample/sample {:local/root "module/sample"}}}' > deps.edn
mkdir -p module/sample/src
echo '(ns sample)' > module/sample/src/sample.clj
echo '{:paths ["src"]}' > module/sample/deps.edn

clojure -Sdeps '{:deps {badigeon/badigeon {:mvn/version "0.0.12"}}}' -e "(require '[badigeon.bundle :as bundle]) (bundle/bundle \"target/project\" {:allow-unstable-deps? true})"
EwenG commented 4 years ago

Thx, it should be fixed now

zerg000000 commented 4 years ago

tested ok! thanks man!