Skip to content

Commit

Permalink
2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaspazza committed Sep 13, 2024
1 parent 0b39bc3 commit 16c4fb4
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 28 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/validation_delaguardo.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Commit validation - Delaguardo flavor
on: [push]
on:
push:
branches:
- main
- la
jobs:
clojure:
strategy:
Expand Down Expand Up @@ -31,5 +35,4 @@ jobs:
key: cljdeps-${{ hashFiles('deps.edn', 'bb.edn') }}
restore-keys: cljdeps-
- name: Test
run: bb heph-task gha

run: bb wf-4 -ibawl -d :common-test
19 changes: 11 additions & 8 deletions bb.edn
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
;; The file is updated automatically
{:deps {org.clojars.hephaistox/automaton-build #:mvn{:version "3.0.1"}}
{:deps {org.clojars.hephaistox/automaton-build #:mvn{:version "3.1.0"}}
:paths []
:tasks
{:requires [[automaton-build.tasks.launcher.bb-entrypoint :as build-task-bb-entrypoint]
[babashka.process :as babahska-process]]
heph-task {:doc "Launch an Hephaistox task"
:task (System/exit (build-task-bb-entrypoint/-main *command-line-args*))}
{-base-deps {:doc "Dependencies for a task using bb"
:extra-deps {org.clojure/tools.cli {:mvn/version "1.1.230"}}}
:requires [[automaton-build.tasks.common :as tasks-common]]
lconnect
{:doc
"Repl in case automaton-web is failing. Using -f or --force cli arguments to force start if some part are failing"
"Repl in case automaton-build is failing. Using -f or --force cli arguments to force start if some part are failing"
:task (try (-> (babahska-process/shell "clojure"
"-M:common-test:env-development-repl:build"
*command-line-args*)
System/exit)
(catch Exception e
(println "Repl failed also - error during repl startup" (ex-message e))))}}}
(println "Repl failed also - error during repl startup" (ex-message e))))}
wf-4 {:depends [-base-deps]
:doc "Full test and formatting."
:enter (tasks-common/enter wf-4/cli-opts (current-task))
:requires [[automaton-build.tasks.4 :as wf-4]]
:task (System/exit (wf-4/run [:common-test :env-development-test]))}}}
31 changes: 18 additions & 13 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{:aliases
{:antq {:deps {com.github.liquidz/antq {:mvn/version "2.9.1217"}}
:main-opts ["-m" "antq.core"]}
:bb-deps {:extra-deps {org.clojars.hephaistox/automaton-build #:mvn{:version "3.0.1"}}}
:build {:extra-deps {org.clojars.hephaistox/automaton-build #:mvn{:version "3.0.1"}}
:bb-deps {:extra-deps {org.clojars.hephaistox/automaton-build #:mvn{:version "3.1.0"}}}
:build {:extra-deps {org.clojars.hephaistox/automaton-build #:mvn{:version "3.1.0"}}
:ns-default build}
:cljs-deps {:extra-deps {binaryage/devtools #:mvn{:version "1.0.7"}
clj-commons/pushy #:mvn{:version "0.3.10"}
Expand All @@ -28,23 +28,28 @@
"test/cljc/"
"env/development/src/cljc/"
"env/development/src/cljs/"]}
:common-test {:exec-fn cognitect.test-runner.api/test
:extra-deps {com.cognitect/test-runner
{:git/url "https://github.com/cognitect-labs/test-runner"
:sha "9d36f36ff541dac680a05010e4348c744333f191"}
org.clojure/tools.namespace #:mvn{:version "1.5.0"}
org.clojure/tools.reader #:mvn{:version "1.5.0"}}
:extra-paths ["test/clj/" "test/cljc/" "test/resources/"]
:jvm-opts ["-Dheph-conf=env/test/config.edn,env/common_config.edn"]}
:env-development-repl {:extra-deps {org.clojars.hephaistox/automaton-core #:mvn{:version "1.3.1"}
:common-test
{:exec-fn cognitect.test-runner.api/test
:extra-deps {com.cognitect/test-runner {:git/url "https://github.com/cognitect-labs/test-runner"
:sha "9d36f36ff541dac680a05010e4348c744333f191"}
org.clojure/tools.namespace #:mvn{:version "1.5.0"}
org.clojure/tools.reader #:mvn{:version "1.5.0"}}
:extra-paths ["test/clj/" "test/cljc/" "test/resources/"]
:jvm-opts ["-Dheph-conf=env/test/config.edn,env/common_config.edn" "-Dhephaistox-in-test=true"]}
:env-development-repl {:extra-deps {org.clojars.hephaistox/automaton-core #:mvn{:version "1.4.0"}
org.clojure/core.async #:mvn{:version "1.6.681"}}
:extra-paths ["env/development/resources/"
"env/development/src/clj/"
"env/development/src/cljc/"]
:jvm-opts ["-Dheph-conf=env/development/config.edn,env/common_config.edn"]
:main-opts ["-m" "automaton-web.repl.entry-point"]}
:env-development-test
{:jvm-opts
{:exec-fn cognitect.test-runner.api/test
:extra-deps {com.cognitect/test-runner {:git/url "https://github.com/cognitect-labs/test-runner"
:sha "9d36f36ff541dac680a05010e4348c744333f191"}
org.clojure/tools.namespace {:mvn/version "1.5.0"}
org.clojure/tools.reader {:mvn/version "1.5.0"}}
:jvm-opts
["-Dclojure.tools.logging.factory=clojure.tools.logging.impl/log4j2-factory"
"-Dhephaistox-in-test=true"
"-Dlog4j.configurationFile=resources/log_config/appenders.properties,resources/log_config/logging-tests.properties"]
Expand All @@ -57,7 +62,7 @@
metosin/reitit #:mvn{:version "0.7.1"}
metosin/ring-http-response #:mvn{:version "0.9.4"}
mount/mount #:mvn{:version "0.1.19"}
org.clojars.hephaistox/automaton-core #:mvn{:version "1.3.1"}
org.clojars.hephaistox/automaton-core #:mvn{:version "1.4.0"}
ring-cors/ring-cors #:mvn{:version "0.1.13"}
ring/ring #:mvn{:version "1.12.2"}
ring/ring-anti-forgery #:mvn{:version "1.3.1"}
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<packaging>jar</packaging>
<groupId>org.clojars.hephaistox</groupId>
<artifactId>automaton-web</artifactId>
<version>2.0.0</version>
<version>2.1.0</version>
<name>automaton-web</name>
<dependencies>
<dependency>
Expand All @@ -30,7 +30,7 @@
<dependency>
<groupId>org.clojars.hephaistox</groupId>
<artifactId>automaton-core</artifactId>
<version>1.3.1</version>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>ring-cors</groupId>
Expand Down
5 changes: 4 additions & 1 deletion project.edn
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@
{:doc "Updating any of taoensso libs results in cljs warnings comming from taoensso/timbre"
:name "com.taoensso/tempura"
:version "1.5.3"}
{:name "marked"}]}}
{:name "marked"}]}
:frontend {:css "resources/css/custom.css"
:run-aliases [:automaton-web-portfolio :browser-test :ltest]}
:publication {:as-lib org.clojars.hephaistox/automaton-web}}
2 changes: 1 addition & 1 deletion version.edn
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
;; Last generated version, note a failed push consume a number
{:version "2.0.0"}
{:version "2.1.0"}

0 comments on commit 16c4fb4

Please sign in to comment.