diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 2a7a7c47..8b83d0f9 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -26,7 +26,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Compile uberjar - run: lein uberjar + run: clj -T:build uber - name: Run javadoc tool run: mkdir -p _site/javadoc && javadoc -d _site/javadoc --source-path ./java-src -cp target/stencil-core-*-standalone.jar -subpackages io.github.erdos.stencil - name: Setup Pages diff --git a/deps.edn b/deps.edn index e77e4290..495a0537 100644 --- a/deps.edn +++ b/deps.edn @@ -30,7 +30,8 @@ :extra-deps {lambdaisland/kaocha {:mvn/version "1.87.1366"} lambdaisland/kaocha-junit-xml {:mvn/version "1.17.101"} org.slf4j/slf4j-simple {:mvn/version "1.7.32"}} - :main-opts ["-m" "kaocha.runner" + :main-opts ["-e" "(require 'stencil.spec) ((requiring-resolve 'clojure.spec.test.alpha/instrument))" + "-m" "kaocha.runner" "--plugin" "kaocha.plugin/junit-xml" "--junit-xml-file" "target/surefire-reports/kaocha.xml"] :jvm-opts ["-Dorg.slf4j.simpleLogger.defaultLogLevel=debug"]}}} \ No newline at end of file diff --git a/docs/Standalone.md b/docs/Standalone.md index 9411d930..a702800b 100644 --- a/docs/Standalone.md +++ b/docs/Standalone.md @@ -5,7 +5,7 @@ It may also be easier if your application's architecture is not written in java. ## Building -Build the project with the `lein uberjar` command to get a standalone application. The built output will be found in the `target` directory. +Build the project with the `clj -T:build uber` command to get a standalone application. The built output will be found in the `target` directory. Run the file with the `java -jar *-standalone.jar` command.