That does sound very questionable, but you should be able to wire this up using :notify-command:

https://github.com/emezeske/lein-cljsbuild/blob/master/sample.project.clj#L73

- Chas

On 03/22/2014 07:06 AM, t x wrote:
Hi,

   This sounds sorta silly:

   I'm already running "lein cljsbuild auto"

   Now, whenver the build completes (definitely when it succeeds; I
don't care what happens when it fails), I would like to trigger an
rsync or ssh to copy the resources/release/*.js files to a remote
machine.

   Is there a standard way to setup these hooks?

Thanks!

My situation is as follows:

   *.cljs files are on my laptop
   lein is on my laptop

   actual webserver is a weak digital ocean droplet

   whenever my (relatively powerful) laptop finishes compiling, I want
my *.js files sent over to the droplet


--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to