Closed tolitius closed 8 years ago
Somehow, these aren't currently running the user-space code. We need to fix that to merge.
Do you think you're going to have a chance to solve the issue where this isn't running the tests? I'd love to switch to boot.
hey, most likely won't have time. project can continue using lein
and could switch to boot
at any time later on, if that'd be still needed.
Closing for now.
bench is not exactly a "regular" build task, but nothing
boot
can't handle :)Building a Jar
Benching
$ boot bench --args "perf_diff_experiment -b 10 -- -b 42"
What's with "--args"?
notice
--args
. there are multiple ways to pass runtime args, but one thing to noteboot
stays true to tasks whether you run them from command line, REPL, withinbuild.boot
, etc.. and the format is "task options". Those options a types, so we can pass args as a Clojure map for example, but I did not want to change the String expectation that is already in thebench/-main
String args vs. Clojure map
In reality,
bench
could be just a function that takes a Clojure map as args, and in case we do need-main
, we can have it parse the String args. This way boot and any other Clojure function can call it directly with just a map.TravisCI
It is running as:
Boot can too: