This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-27
Channels
- # aleph (3)
- # beginners (89)
- # boot (198)
- # cbus (4)
- # cider (11)
- # clara (2)
- # cljs-dev (27)
- # cljsrn (4)
- # clojure (141)
- # clojure-austin (4)
- # clojure-italy (11)
- # clojure-nl (1)
- # clojure-poland (2)
- # clojure-russia (35)
- # clojure-spec (33)
- # clojure-uk (55)
- # clojurescript (111)
- # core-logic (15)
- # cursive (2)
- # datascript (47)
- # datomic (132)
- # emacs (4)
- # jobs (1)
- # lein-figwheel (13)
- # leiningen (15)
- # lumo (20)
- # off-topic (110)
- # om (8)
- # onyx (20)
- # parinfer (2)
- # protorepl (1)
- # re-frame (36)
- # reagent (5)
- # remote-jobs (1)
- # ring (2)
- # ring-swagger (5)
- # specter (6)
- # uncomplicate (3)
- # unrepl (77)
hi, hopefully a simple question... how do I run the examples in the onyx-examples repo?
@thomas lein run -m lifecycles.core
to run the lifecycles examples
We could probably do better there by having a :main
namespace for each example
@gardnervickers I tried lein run
but didn't realise there is the -m option. Thank you...
That would be a welcome PR
Then we could just use lein run
Yea that’s because there’s nothing specified to run
There’s no -main
in the file
@gardnervickers I have created a PR for the first example: https://github.com/onyx-platform/onyx-examples/pull/10
@thomas Can you nix the docstring on the -main
and System/exit
?
will do @michaeldrogalis and I did need the Sytstem/exit
I think
IIRC System/exit messes with the shutdown of agents.
Thanks. 🙂 Ill swing back to it later today.