-
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
awb99
committed
Nov 10, 2024
1 parent
b1ab8ba
commit edda516
Showing
38 changed files
with
224 additions
and
278 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,14 +29,11 @@ jobs: | |
cli: 1.10.3.929 # Clojure CLI based on tools.deps | ||
- name: clj-fmt | ||
run: | | ||
cd reval | ||
clojure -M:cljfmt | ||
cd ../reval-ui | ||
clojure -M:cljfmt | ||
shell: bash | ||
- name: test-clj | ||
run: | | ||
cd reval | ||
clojure -M:test | ||
- name: Release | ||
if: success() | ||
|
@@ -46,7 +43,6 @@ jobs: | |
CLOJARS_PASSWORD: ${{ secrets.ReleasePassword }} | ||
CODECOV_TOKEN: ${{ secrets.CodecovToken }} | ||
run: | | ||
cd reval-ui | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "CI/CD" | ||
clojure -T:build jar | ||
|
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
File renamed without changes.
File renamed without changes.
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,6 @@ | ||
(ns demo.task | ||
(:require | ||
[reval.core :refer [*env* eval-collections]])) | ||
|
||
(defn eval-all [& _] | ||
(eval-collections *env*)) |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,62 @@ | ||
{:deps {reval/reval {:local/root "./reval" :deps/manifest :deps} | ||
reval/reval-ui {:local/root "./reval-ui" :deps/manifest :deps} | ||
reval/reval-sci {:local/root "./reval-sci" :deps/manifest :deps}} | ||
|
||
|
||
} | ||
:aliases | ||
{; github ci MULTI-DEPS VERSION | ||
:build {:deps {io.github.clojure/tools.build {:mvn/version "0.9.6"} | ||
slipset/deps-deploy {:mvn/version "0.2.1"} | ||
io.github.seancorfield/build-clj {:git/tag "v0.5.4" :git/sha "bc9c0cc"} | ||
babashka/fs {:mvn/version "0.0.5"}} | ||
:ns-default build | ||
:jvm-opts ["-Dmaven.wagon.rto=90000"]} | ||
|
||
; https://github.com/weavejester/cljfmt | ||
:cljfmt | ||
{:extra-deps {cljfmt/cljfmt {:mvn/version "0.8.0"}} | ||
:main-opts ["-m" "cljfmt.main" | ||
"--indents" "cljfmt.edn" | ||
"check" | ||
"reval/src" | ||
"reval-ui/src" | ||
"reval-sci/src" | ||
]} | ||
|
||
:cljfmt-fix | ||
{:extra-deps {cljfmt/cljfmt {:mvn/version "0.8.0"}} | ||
:main-opts ["-m" "cljfmt.main" | ||
"--indents" "cljfmt.edn" | ||
"fix" | ||
"reval/src" | ||
"reval-ui/src" | ||
"reval-sci/src" | ||
]} | ||
|
||
|
||
|
||
; https://github.com/clj-kondo/clj-kondo/blob/master/doc/jvm.md | ||
:lint | ||
{:extra-deps {clj-kondo/clj-kondo {:mvn/version "2024.03.13"}} | ||
:main-opts ["-m" "clj-kondo.main" | ||
"--lint" | ||
"reval/src" | ||
"reval-ui/src" | ||
"reval-sci/src" | ||
"--config" "cljkondo.edn"]} | ||
|
||
:check | ||
{:extra-deps {athos/clj-check {:git/url "https://github.com/athos/clj-check.git" | ||
:sha "518d5a1cbfcd7c952f548e6dbfcb9a4a5faf9062"}} | ||
:main-opts ["-m" "clj-check.check"]} | ||
|
||
:test | ||
{:extra-paths ["test" "demo"] | ||
:extra-deps {io.github.cognitect-labs/test-runner | ||
{:git/url "https://github.com/cognitect-labs/test-runner.git" | ||
:sha "dd6da11611eeb87f08780a30ac8ea6012d4c05ce"}} | ||
:main-opts ["-m" "cognitect.test-runner"] | ||
:exec-fn cognitect.test-runner.api/test} | ||
|
||
; | ||
}} |
File renamed without changes.
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
File renamed without changes.
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
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
(ns reval.dali.viewer.evalerr) | ||
|
||
|
||
;; currently not used. | ||
|
||
(def show-stacktrace true) | ||
|
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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
(ns reval.dali.viewer.list | ||
(:require | ||
[dali.viewer :refer [viewer2]])) | ||
(:require | ||
[dali.viewer :refer [viewer2]])) | ||
|
||
;; used to show seq/vec/maps where the children | ||
;; are dali-specs | ||
|
||
(defn one [dali-spec] | ||
[:span.mr-1 | ||
[viewer2 dali-spec]]) | ||
[viewer2 dali-spec]]) | ||
|
||
(defn list-view [{:keys [class open close children]} ] | ||
[:span {:class class} | ||
[:span.font-bold.teal-700.mr-1 open] | ||
(defn list-view [{:keys [class open close children]}] | ||
[:span {:class class} | ||
[:span.font-bold.teal-700.mr-1 open] | ||
; [:span "#" (count children)] | ||
(into [:span.items] | ||
(map one children)) | ||
[:span.font-bold.teal-700.ml-1 close]]) | ||
(into [:span.items] | ||
(map one children)) | ||
[:span.font-bold.teal-700.ml-1 close]]) | ||
|
||
|
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
Oops, something went wrong.