-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Switch to deps.edn, shadow-cljs, kaocha - Apply clj-fmt - Set up CI with CircleCI - Bump fress version - Fix ClojureScript normalization. Co-authored-by: Wade Dominic <wade@lambdaforge.io> Co-authored-by: Christian Weilbach <ch_weil@topiq.es>
- Loading branch information
1 parent
0263090
commit 80a09f4
Showing
20 changed files
with
5,131 additions
and
191 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,46 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
tools: replikativ/clj-tools@0 | ||
|
||
workflows: | ||
build-test-and-deploy: | ||
jobs: | ||
- tools/setup | ||
- tools/format: | ||
requires: | ||
- tools/setup | ||
- tools/unittest: | ||
requires: | ||
- tools/setup | ||
- tools/cljstest: | ||
requires: | ||
- tools/setup | ||
- tools/build: | ||
jarname: "incognito" | ||
requires: | ||
- tools/setup | ||
- tools/deploy-snapshot: | ||
jarname: "incognito" | ||
context: clojars-deploy | ||
filters: | ||
branches: | ||
only: development | ||
requires: | ||
- tools/setup | ||
- tools/format | ||
- tools/unittest | ||
- tools/cljstest | ||
- tools/build | ||
- tools/deploy-release: | ||
jarname: "incognito" | ||
context: clojars-deploy | ||
filters: | ||
branches: | ||
only: master | ||
requires: | ||
- tools/setup | ||
- tools/format | ||
- tools/unittest | ||
- tools/cljstest | ||
- tools/build |
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,11 +1,15 @@ | ||
/target | ||
/classes | ||
/checkouts | ||
pom.xml | ||
pom.xml.asc | ||
*.jar | ||
*.class | ||
/.lein-* | ||
/.nrepl-port | ||
.hgignore | ||
.hg/ | ||
.cpcache | ||
.shadow-cljs | ||
node_modules | ||
resources | ||
out/ |
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,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
clojure -A:test -m kaocha.runner "$@" | ||
|
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,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -o errexit | ||
set -o pipefail | ||
|
||
# Compile for browser | ||
npm run ci-test | ||
|
||
# Compile for node | ||
npx shadow-cljs compile node-test |
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,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
TIMBRE_LEVEL=':warn' clojure -A:test -m kaocha.runner |
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,18 @@ | ||
{:paths ["src"] | ||
:deps {org.clojure/clojure {:mvn/version "1.10.1"} | ||
org.clojure/clojurescript {:mvn/version "1.10.764"} | ||
org.clojure/data.fressian {:mvn/version "0.2.1"} | ||
com.cognitect/transit-clj {:mvn/version "0.8.319"} | ||
com.cognitect/transit-cljs {:mvn/version "0.8.256"} | ||
fress/fress {:mvn/version "0.3.2"}} | ||
:aliases {:cljs {:extra-deps {thheller/shadow-cljs {:mvn/version "2.10.21"} | ||
binaryage/devtools {:mvn/version "1.0.2"}} | ||
:extra-paths ["test"]} | ||
:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.0.641"}} | ||
:extra-paths ["test"]} | ||
:jar {:extra-deps {seancorfield/depstar {:mvn/version "1.1.116"}} | ||
:main-opts ["-m" "hf.depstar.jar" "replikativ-incognito.jar"]} | ||
:deploy {:extra-deps {slipset/deps-deploy {:mvn/version "0.1.0"}} | ||
:main-opts ["-m" "deps-deploy.deps-deploy" "deploy" "replikativ-incognito.jar"]} | ||
:format {:extra-deps {cljfmt/cljfmt {:mvn/version "0.7.0"}} | ||
:main-opts ["-m" "cljfmt.main" "check"]}}} |
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,17 @@ | ||
module.exports = function (config) { | ||
config.set({ | ||
browsers: ['ChromeHeadless'], | ||
// The directory where the output file lives | ||
basePath: 'target', | ||
// The file itself | ||
files: ['ci.js'], | ||
frameworks: ['cljs-test'], | ||
plugins: ['karma-cljs-test', 'karma-chrome-launcher'], | ||
colors: true, | ||
logLevel: config.LOG_INFO, | ||
client: { | ||
args: ["shadow.test.karma.init"], | ||
singleRun: true | ||
} | ||
}) | ||
} |
Oops, something went wrong.