-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
caumond
committed
Sep 9, 2023
1 parent
d8fdcd5
commit 9729eb2
Showing
6 changed files
with
70 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
(ns automaton-core.repl-core | ||
"Gather all components to app | ||
This core is for test only, if you need a repl running only automaton-core code" | ||
(:require | ||
[automaton-core.configuration.core] | ||
[automaton-core.i18n.language.lang-core] | ||
[automaton-core.repl :as core-repl] | ||
[automaton-core.i18n.translate.translate-core] | ||
[automaton-core.log :as log] | ||
[mount.core :as mount] | ||
[clojure.core.async :refer [go chan <!]] | ||
[mount.tools.graph :as graph]) | ||
(:gen-class)) | ||
|
||
(defn -main | ||
"Main entry point for repl" | ||
[& _args] | ||
(log/info "Start `automaton-core`") | ||
(log/trace "Component dependencies: " (graph/states-with-deps)) | ||
(mount/start) | ||
(core-repl/start-repl) | ||
(let [c (chan 1)] | ||
(go | ||
(<! c)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{:env :dev | ||
:app-name "automaton-core" | ||
:archi {:dir "docs/archi/"} | ||
:customer-materials {:dir "docs/customer_materials" | ||
:tmp-html-dir "tmp/pdf/htmls" | ||
:tmp-dir "tmp/pdf"} | ||
:published-apps {:dir "tmp" | ||
:code-subdir "code-pub"} | ||
:documentation {:codox "docs/codox" | ||
:code-stats "docs/code/stats.md" | ||
:code-subdir "docs/code"} | ||
:log {:spitted-edns "tmp/logs/spitted"} | ||
:tests {:tmp-dirs "tmp/tests"} | ||
:dev {:clj-nrepl-port 8010}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters