Fork me on GitHub
#planck
<
2018-06-18
>
nate19:06:20

hm, I'm getting a null pointer exception when I try to run the shebang deps example

nate19:06:35

#!/usr/bin/env bash
"exec" "plk" "-Sverbose" "-Sdescribe" "-Sdeps" "{:deps {andare {mvn/version \"0.7.0\"}}}" "-Ksf" "$0" "$@"
(require '[clojure.core.async :refer [chan go <! >!]])

(def c (chan))
(go (prn (<! c)))
(go (>! c *command-line-args*))

nate19:06:13

I have planck version 2.15.0

nate19:06:13

anyone else run into this?

mfikes19:06:11

Add a colon prior to mvn/version

mfikes19:06:55

Something else may be wrong, but at least that gets beyond the NPE

nate19:06:02

indeed, but that does unlock the gate

nate19:06:04

thank you

mfikes19:06:26

TBH, I don't recall why it has -Sverbose and -Sdescribe. That seems like another typo

nate19:06:33

I added those in an attempt to understand what was going on

mfikes19:06:53

Cool. @nate Another typo in that example might be the need for Andare 0.9.0

nate19:06:11

I'll see if I can get it cleaned up and submit a PR

👍 4
mfikes19:06:13

With that, and ensuring that I don't have a stale .planck_cache lying around, it works

nate19:06:27

cool, works for me too