Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 15 additions & 10 deletions .github/workflows/commit_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,34 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Install java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '21'
check-latest: true
- name: Install clojure tools
# See https://github.com/DeLaGuardo/setup-clojure/commits/main/
uses: DeLaGuardo/setup-clojure@ada62bb3282a01a296659d48378b812b8e097360 #v13.2
uses: DeLaGuardo/setup-clojure@3fe9b3ae632c6758d0b7757b0838606ef4287b08 #v13.2
with:
cli: 1.12.0.1530
bb: 1.12.197
clj-kondo: 2025.02.20
zprint: 1.2.9
cli: 1.12.3.1577
bb: 1.12.209
clj-kondo: 2025.10.23
zprint: 1.3.0
- name: Lint
run: bb lint -v
- name: Setup zprint
run: echo "{:search-config? true}" >> ~/.zprintrc
- name: Install fdfind
run: sudo rm /var/lib/man-db/auto-update && sudo apt-get install -y fd-find && mkdir -p ~/.local/bin/ && PATH=$PATH:~/.local/bin/ && ln -s $(which fdfind) ~/.local/bin/fd
- name: Install fd-find
run: |
sudo apt-get update
sudo apt-get install -y fd-find
mkdir -p ~/.local/bin
ln -s "$(which fdfind)" ~/.local/bin/fd
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Cache clojure dependencies
uses: actions/cache@v4
with:
Expand All @@ -51,7 +56,7 @@ jobs:
run: git diff
- name: Pushed code should already be formatted
# See https://github.com/CatChen/check-git-status-action
uses: CatChen/check-git-status-action@fb60fe626b56d5a4adcb227327ba4d24326a873a #v1.4.4
uses: CatChen/check-git-status-action@d75bdbea704869e2a3b01111b4a82c49e9bd348d #v1.4.4
with:
fail-if-not-clean: true
request-changes-if-not-clean: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_clojar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
# This step checks out a copy of your repository.
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- uses: jlesquembre/clojars-publish-action@89a4eb7bdbe1270621e6643250afce152701699e # v0.3
env:
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

35 changes: 18 additions & 17 deletions bb.edn
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{:deps {com.github.hephaistox/auto-build {:git/sha "6e9a158ebf50ed9d0291f05c767b056c24508ca5"}
io.github.hephaistox/auto-build {:git/sha "e907e29f65049a805c5a33e2f60bbe838c268a1a"}}
:paths ["src"]
{:deps {com.github.hephaistox/auto-build {:git/sha "cd0854aaba46d240ac4852b97d1f4f708ed626dc"}}
:paths []
:tasks
{:init (do (def exit System/exit))
:requires [[auto-build.os.exit-codes]]
{:requires [[auto-build.os.exit-codes] [auto-build.os.exiting :refer [exit]]]
bp {:doc "Before push"
:task (binding [exit (fn [exit-code & _] (when-not (zero? exit-code) exit-code))]
(-> (or (run 'format)
Expand All @@ -16,9 +14,16 @@
System/exit))}
clean {:doc "Clean temporary files"
:requires [[auto-build.tasks.clean :as task-clean]
[babashka.fs :as fs]
[auto-build.echo :refer [level1-header]]]
:task (-> (task-clean/clean level1-header "." [".DS_Store"] [".cpcache"] (current-task))
exit)}
:task (let [rc (task-clean/clean level1-header
"."
[".DS_Store"]
[".cpcache" ".shadow-cljs" "node_modules" "tmp"]
(current-task))]
(fs/create-dir "tmp")
(fs/create-file "tmp/.keep")
(exit rc))}
clj-test
{:doc "Test with clj"
:requires [[auto-build.tasks.clj-test :as build-clj-test]
Expand All @@ -39,6 +44,9 @@
[auto-build.echo :refer [level1-header]]]
:task (-> (build-cljs-node-test/cljs-node-test level1-header "." (current-task) ["ltest"])
exit)}
copy {:doc "Copy files from source projects (as defined in ext_src.edn)"
:requires [[auto-build.tasks.copy :as tc] [auto-build.echo :refer [level1-header]]]
:task (tc/run level1-header "ext_src.edn")}
deploy {:doc "Deploy"
:requires [[auto-build.tasks.deploy :as task-deploy]
[auto-build.echo :refer [level1-header]]]
Expand All @@ -48,15 +56,14 @@
:task (do (shell "clj -M:antq") (shell "npm upgrade"))}
docs {:doc "Docs"
:requires [[auto-build.tasks.docs :as build-docs] [auto-build.echo :refer [level1-header]]]
:task (-> (build-docs/docs level1-header "." (current-task) "gh-pages")
:task (-> (build-docs/docs level1-header "." (current-task) "gh-pages" ":codox")
exit)}
format {:doc "Format"
:requires [[auto-build.tasks.formatting :as task-format]
[auto-build.echo :refer [level1-header]]]
:task (-> (task-format/format level1-header "." (current-task))
exit)}
heph-info {:doc "Hephaistox project info"
:extra-paths ["env/dev/resources"]
:requires [[auto-build.tasks.heph-info :as heph-info]
[auto-build.echo :refer [level1-header]]]
:task (-> (heph-info/heph-info level1-header (current-task))
Expand All @@ -68,11 +75,5 @@
repl {:doc "Clojure repl"
:override-builtin true
:requires [[auto-build.tasks.repl :as build-repl] [auto-build.echo :refer [level1-header]]]
:task (-> (build-repl/repl level1-header "." (current-task))
exit)}
uberjar {:doc "Uberjar"
:override-builtin true
:requires [[auto-build.tasks.uberjar :as build-uberjar]
[auto-build.echo :refer [level1-header]]]
:task (-> (build-uberjar/uberjar level1-header "." "target/uberjar" "")
exit)}}}
:task (-> (build-repl/repl level1-header "." (current-task) [:repl :test-clj] 7005)
exit)}}}
22 changes: 0 additions & 22 deletions build/compile.clj

This file was deleted.

1 change: 0 additions & 1 deletion clj-xchart
Submodule clj-xchart deleted from 4c184a
29 changes: 8 additions & 21 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
{:aliases
{:antq {:deps {com.github.liquidz/antq {:mvn/version "2.10.1241"}}
{:antq {:deps {com.github.liquidz/antq {:mvn/version "2.11.1276"}}
:main-opts ["-m" "antq.core"]}
:build {:deps {io.github.clojure/tools.build {:git/sha "52cf7d6"
:git/tag "v0.10.6"}}
:extra-paths ["build"]}
:clj-test-runner {:exec-fn cognitect.test-runner.api/test
:extra-deps {com.cognitect/test-runner
{:git/url "https://github.com/cognitect-labs/test-runner"
:sha "3f288f1f16d167723ad87cc35b1dfee3c1681e10"}}}
:cljs-deps {:extra-deps {metosin/malli {:mvn/version "0.16.1"}
thheller/shadow-cljs {:mvn/version "2.28.19"}}
:extra-paths
["src/cljc" "src/cljs" "env/dev/resources" "test/cljc" "test/cljs" "test/resources"]}
:cljs-deps {:extra-deps {thheller/shadow-cljs {:mvn/version "2.28.19"}}
:extra-paths ["src/cljc" "test/unit/cljc"]}
:codox {:exec-args
{:description
"`auto-js` is about all core technical functionalities we may need to start a project."
Expand All @@ -23,17 +18,9 @@
:extra-deps {codox/codox {:mvn/version "0.10.8"}}}
:repl {:exec-args {:port 7001}
:exec-fn auto-build.repl.entry-point/start
:extra-deps {cider/cider-nrepl {:mvn/version "0.50.2"}
io.github.hephaistox/auto-build {:git/sha
"e907e29f65049a805c5a33e2f60bbe838c268a1a"}
refactor-nrepl/refactor-nrepl {:mvn/version "3.10.0"}}
:extra-paths
["env/dev/resources" "test/clj" "test/cljc" "test/resources" "test/src" "test/resources"]}
:test-clj {:extra-paths ["test/clj" "test/cljc" "test/resources"]
:extra-paths []}
:test-clj {:extra-paths ["test/unit/cljc"]
:main-opts
["-m" "cognitect.test-runner" "-r" ".*-test.*" "-d" "test/unit/clj" "test/unit/cljc"]}
:test-demo {:extra-paths ["test/demo/cljc"]}}
:deps {com.github.hephaistox/auto-opti {:git/sha "ddd4c4e56950c354f88e5f0d424dbb710cb67bf4"}
com.hypirion/clj-xchart {:local/root "clj-xchart"}
io.github.hephaistox/auto-core {:git/sha "4d41497668ada474e8089403cf6f5e9d263e18ad"}}
:paths ["src/cljc" "src/clj"]}
["-m" "cognitect.test-runner" "-r" ".*-test.*" "-d" "test/unit/clj" "test/unit/cljc"]}}
:deps {com.github.hephaistox/auto-opti {:git/sha "12dc1ada264af45901367868ddaa6ec7953b6e21"}}
:paths ["src/cljc"]}
1 change: 0 additions & 1 deletion env/dev/resources/run_config.edn

This file was deleted.

5 changes: 5 additions & 0 deletions ext_src.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{com.github.hephaistox/auto-build {:files [".zprintrc"
"LICENSE.md"
"docs/img/automaton_duck.png"
".github/workflows/deploy_clojar.yml"
".github/workflows/commit_validation.yml"]}}
4 changes: 0 additions & 4 deletions project.edn

This file was deleted.

63 changes: 0 additions & 63 deletions src/clj/auto_js/sim/js/xchart.clj

This file was deleted.

Loading
Loading