boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
2018-07-23T11:54:25.000231Z

does boot parse the CLASSPATHS env-variable for colon seperated classpaths, if not, is there an alternative way to feed boot a colon seperated classpath without modifying build.boot ?

2018-07-23T13:59:40.000257Z

By using set-env! :source-paths, I add an absolute path to org_clojure_clojure-1.9.0.jar, still boot tries to download clojure

Could not transfer artifact org.clojure:clojure:pom:1.9.0 from/to clojars (<https://repo.clojars.org/>): <http://repo.clojars.org|repo.clojars.org>: Name or service not known
the pom file is inside the jar, don't get it. I need to use boot in offline mode for what Im doing.

2018-07-23T14:03:33.000388Z

I could try to set these jars in an .m2 directory... I try that

2018-07-23T21:41:32.000133Z

we've recently upgraded from 2.7.2 to 2.8.1 at work, and this task that was working is now complaining clojure.lang.ExceptionInfo: option :target must be of type [str]

2018-07-23T21:43:00.000362Z

I guess another causality of https://github.com/boot-clj/boot/commit/197f991324d9207f5d4b7b1828dd54ff61aadd09

seancorfield 2018-07-23T23:24:45.000168Z

That seems to be quite an important breaking change...

$  boot -d boot/new new -t app -n taskarg
...
$  cd taskarg/
$  cat build.boot 
...
(deftask run
  "Run the project."
  [a args ARG [str] "the arguments for the application."]
  (with-pass-thru fs
    (require '[taskarg.core :as app])
    (apply (resolve 'app/-main) args)))
...
$  boot run -a foo
java.lang.IllegalArgumentException: option :args must be of type [str]
        clojure.lang.ExceptionInfo: option :args must be of type [str]
That works just fine in 2.7.2.

seancorfield 2018-07-23T23:29:49.000184Z

The docs indicate this should work https://github.com/boot-clj/boot/wiki/Task-Options-DSL#multi-options

Options can also be sets or vectors. Multiple use of the option on the command line conjes items onto the set or vector.

seancorfield 2018-07-23T23:35:31.000156Z

I see it broke the call task as well https://github.com/boot-clj/boot/issues/707