-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
24 changed files
with
251 additions
and
1,059 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# https://practical.li/clojure/continuous-integration/github-actions/ | ||
name: Tests build | ||
on: [push] | ||
jobs: | ||
clojure: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Prepare java | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: Install clojure tools | ||
uses: DeLaGuardo/[email protected] | ||
with: | ||
cli: 1.10.1.693 # Clojure CLI based on tools.deps | ||
|
||
#- name: Run Clj Unit tests | ||
# run: make test-clj | ||
|
||
- name: Install Chrome | ||
uses: browser-actions/setup-chrome@latest | ||
|
||
- name: Generate library code | ||
run: make generate-all | ||
|
||
- name: Run cljs tests | ||
run: make test-cljs | ||
|
||
- name: Run clj tests | ||
run: make test-clj |
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ package.json | |
web-target/public | ||
pom.xml | ||
pom.xml.asc | ||
.cpcache | ||
*.jar | ||
*.class | ||
/lib/ | ||
|
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,9 @@ | ||
generate-all: | ||
clj -Adev -X com.widdindustries.gen.gen.tempo/generate-all | ||
test-cljs: | ||
clojure -Adev -X com.widdindustries.tiado-cljs2/tests-ci-shadow :compile-mode :release | ||
test-clj: | ||
clojure -Adev -X dev/run-clj-tests | ||
.PHONY: list | ||
list: | ||
@$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | egrep -v -e '^[^[:alnum:]]' -e '^$@$$' | xargs |
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,14 +1,16 @@ | ||
; this is not the deps for a lib user to depend on. find those under 'gen-out' | ||
{:paths ["dev" "web-target" "gen-out/no-deps/src"] | ||
:deps {;ring/ring-core {:mvn/version "1.8.1"} | ||
backtick/backtick {:mvn/version "0.3.4"} | ||
camel-snake-kebab/camel-snake-kebab {:mvn/version "0.4.2"} | ||
medley/medley {:mvn/version "1.4.0"} | ||
cljc-deps {:local/root "./gen-out/cljc.java-time-dep"} | ||
com.widdindustries/tiado-cljs2 {:git/url "https://github.com/henryw374/tiado-cljs2.git" :git/sha "8aa3042d834d2695ec9d4f9f65532573c849d6bf" } | ||
|
||
} | ||
:aliases {:release {:extra-deps {applied-science/deps-library {:mvn/version "RELEASE"}} | ||
:main-opts ["-m" "applied-science.deps-library"]} | ||
:output-no-deps {:extra-paths ["test" "src/temporal"] | ||
:extra-deps {tempo-no-deps {:local/root "gen-out/no-deps"}}}}} | ||
{:paths ["src"] | ||
:aliases {:dev {:extra-paths ["dev" "web-target" "test"] | ||
:extra-deps {;ring/ring-core {:mvn/version "1.8.1"} | ||
backtick/backtick {:mvn/version "0.3.4"} | ||
camel-snake-kebab/camel-snake-kebab {:mvn/version "0.4.2"} | ||
medley/medley {:mvn/version "1.4.0"} | ||
com.widdindustries/tiado-cljs2 {:git/url "https://github.com/henryw374/tiado-cljs2.git" :git/sha "8aa3042d834d2695ec9d4f9f65532573c849d6bf"} | ||
com.widdindustries/cljc.java-time {:mvn/version "0.1.21"} | ||
;com.widdindustries/time-literals {:mvn/version "0.1.10" :exclusions [com.widdindustries/cljs.java-time]} | ||
org.clojure/tools.namespace {:mvn/version "1.4.4"} | ||
} | ||
}} | ||
:release {:extra-deps {applied-science/deps-library {:mvn/version "RELEASE"}} | ||
:main-opts ["-m" "applied-science.deps-library"]} | ||
} |
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
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,2 +1,9 @@ | ||
(ns user | ||
(:require [cljs])) | ||
(ns user) | ||
|
||
(defn dev [] | ||
(require 'dev) | ||
(in-ns 'dev)) | ||
|
||
(comment | ||
(dev) | ||
) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.