planck

Planck ClojureScript REPL
2018-02-21T18:41:33.000664Z

hey when using #!/usr/bin/env planck is there any way to have the clojure command gen the classpath?

mfikes 2018-02-21T18:41:51.000260Z

Yes...

mfikes 2018-02-21T18:42:06.000716Z

See http://planck-repl.org/dependencies.html

mfikes 2018-02-21T18:42:18.000403Z

In particular the Using Clojure CLI Tools section

2018-02-21T18:42:25.000404Z

yeah I mean for when using it as a script

2018-02-21T18:42:39.000757Z

so I wanted to keep the ./my-script-with-shebang.cljs behaviour

mfikes 2018-02-21T18:43:01.000776Z

Ahh, I do have a branch that has Planck automatically run clojure to form the path https://github.com/mfikes/planck/tree/cli-tools

mfikes 2018-02-21T18:43:17.000708Z

If it is useful, I could clean it up and land it on master

2018-02-21T18:43:37.000015Z

I'm probably just overthinking it, I have one dep I'll just stick it in the shebang

mfikes 2018-02-21T18:44:46.000348Z

OK, that should work on macOS, but there might be issues on Linux

mfikes 2018-02-21T18:45:13.000546Z

Let me know ... the branch calls clojure like you'd expect https://github.com/mfikes/planck/commit/48c57d2374ae83e7344d0ec9f1b84c528b013b02#diff-be16f33097af328db510f8dd4652c3eeR8