Fork me on GitHub
#boot
<
2015-06-08
>
ryanmcg00:06:43

Any pointers on using boot for node cljs development?

podviaznikov01:06:46

@martinklepsch: I didn’t try it with gzip yet. But I can and let you know. Do you know if there is boot task that can gzip files?

bcachet07:06:43

@ryanmcg: I have started with the [boot-cljs-example](https://github.com/adzerk-oss/boot-cljs-example) that run tests using node-testrunner

bcachet07:06:20

@ryanmcg: I have created a minimalist project that only compile a lib and run associated tests on Node: https://github.com/bcachet/xml-cljs

bcachet07:06:46

Hello Boot users, I just start using Boot for my CLJS projects. It's awesome. Does anyone use Boot with CursiveClojure ? Do you have hints/tips to use both ?

martinklepsch09:06:42

@podviaznikov: I wrote a simple gzip task, will put it up today and ping you again

martinklepsch09:06:23

I was considering making a PR to boot-s3 with it but it’s probably best if people can still use it independently + it might be easier to find

martinklepsch16:06:01

@bcachet: just read your question now — I assume connecting to a running boot repl process is akin to connecting to a remote REPL as described here: https://cursiveclojure.com/userguide/repl.html

podviaznikov17:06:41

@martinklepsch nice! I will try gzip and s3 tasks together and let you know

martinklepsch17:06:26

cool! this seems to become a fairly potent tool for deploying static sites simple_smile

bcachet17:06:02

@martinklepsch: yeah, I connect to a Remote REPL that I started via an "External Command" I also started my dev task (compiling JS from CLJS and reload page when JS/CSS is updated) via an external command. But to get a working CursiveClojure, I needed to create a Leiningen project.clj file in order to be able to use Cursive plugin.

martinklepsch17:06:37

I haven’t used Boot with Cursive yet so I don’t really have other ideas than pinging @cfleming for help simple_smile

cfleming23:06:30

bcachet: Yes, sadly using boot requires a project.clj right now to trick Cursive

cfleming23:06:37

bcachet: martinklepsch: I’m planning to add boot support sometime soon since I suspect I want to use it for building Cursive itself (Ant currently)