Run a local task once?
I have a build task that is part of an overall deploy task. The idea is the build task (compilation, uberjar) should occur once per deploy, and the remainder of the tasks run once per deployment (scp, restarting, etc.)
Currently the local build task runs once per node in the cluster. How would one ensure this runs only once for a deployment?
Yep, it's a problem here.
Maybe i can supports once metadata for tasks.And it make sure that the task attached with once metadata will only run at most once for one task execution.
That would be absolutely ideal!
Nicely done- thanks for adding this!
My pleasure. I will release a new version ASAP.
2015-06-26 6:22 GMT+08:00 Andy S. Parsons [email protected]:
Nicely done- thanks for adding this!
— Reply to this email directly or view it on GitHub https://github.com/killme2008/clojure-control/issues/22#issuecomment-115417961 .
庄晓丹 Email: [email protected] [email protected] Site: http://fnil.net Twitter: @killme2008