Fork me on GitHub
#planck
<
2016-05-04
>
gamecubate14:05:30

What's the simplest, shell based way, to update planck on OSX?

mfikes14:05:52

Are you using brew?

gamecubate14:05:57

I did to install it yes

gamecubate14:05:03

brew update planck?

gamecubate14:05:37

brew upgrade planck I guess

mfikes14:05:39

See the “Update” section here: http://planck-repl.org/setup.html

gamecubate14:05:46

Just got reprimanded by brew for calling update planck

gamecubate14:05:00

Man I had missed that.

gamecubate14:05:37

I was on the git page and didn't see that in the README. All good now thanks.

gamecubate14:05:47

Slack making me a bit lazy I think, simple_smile

mfikes14:05:28

No problem. I’ve updated the README. No need to make people dig for things. https://github.com/mfikes/planck/blob/master/README.md#installing--updating

gamecubate15:05:33

Wow. Excellent.

gamecubate15:05:59

Problems with the above. Shell command

planck count.cljs 1 2 3 args
reports "'undefined' is not a function (evaluating 'planck.core.STARcommand_line_args_STAR_.call(null)')"

mfikes15:05:00

@gamecubate: Does your count.cljs file refer to *command-line-args*?

manutter5115:05:15

It’s because you wrapped *command-line-args* in parens

gamecubate15:05:23

Yes. The snippet above are its contents.

gamecubate15:05:28

Oh I see it's a vector not a function.

gamecubate15:05:34

Will try again and...

mfikes15:05:40

Ahh.. missed the above. What @manutter51 said simple_smile

gamecubate15:05:08

bingo. Works. My mistake. Thanks.

gamecubate15:05:50

As a matter of fact, your docs are clear. The example invokes (first command-line-args) so truly I went too fast.

gamecubate15:05:12

Plus I should have picked on the earmuffs () right away.

gamecubate15:05:46

picked up on...