slipset / deps-deploy

deploy your stuff
Eclipse Public License 1.0
149 stars 31 forks source link

Allow artifact to be specified by clojure command #25

Closed liquidz closed 3 years ago

liquidz commented 3 years ago

Problem

Currently :artifct must be set in deps.edn, and when I set by clojure command, the follwoing error is occurred.

$ clojure -X:install :artifact 'foo.jar'

Execution error (ClassCastException) at deps-deploy.deps-deploy/extension (deps_deploy.clj:26).
clojure.lang.Symbol cannot be cast to java.lang.CharSequence

How to solve

Params for -X option seems to be handled as Symbol, so I corerce artifact to String.