I have two aliases in my deps.edn:
{
:deps
{
org.clojure/spec.alpha {:mvn/version "0.2.194"}
aleph/aleph {:mvn/version "0.4.7-alpha7"}
hiccup/hiccup {:mvn/version "2.0.0-alpha2"}
}
:aliases
{
:web-server {
:exec-fn web.network-service/run
:exec-args {:port 8080}
}
:test-web-server {
:exec-fn test.tnetwork-service/run
:exec-args {:port 9090}
}
}
}
When invoking
clojure -X:web-server
I get
Function not found: web.network-service/run
Everything is honky dory when invoking
clojure -X:test-web-server
I don't see why would that be, the exec-funs are basically identical. Take a look at full code here: https://github.com/sidesteps/network-grid
I have :paths ["." "src"]
in my global deps.edn