Add lein-cljfmt plugin
This commit is contained in:
parent
dc05e3b19f
commit
d351993c7e
2 changed files with 11 additions and 12 deletions
|
|
@ -3,11 +3,10 @@
|
||||||
:url "https://github.com/javahippie/clj-test-containers"
|
:url "https://github.com/javahippie/clj-test-containers"
|
||||||
:license {:name "Eclipse Public License"
|
:license {:name "Eclipse Public License"
|
||||||
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
||||||
|
|
||||||
:dependencies [[org.clojure/clojure "1.10.1"]
|
:dependencies [[org.clojure/clojure "1.10.1"]
|
||||||
[org.testcontainers/testcontainers "1.14.3"]]
|
[org.testcontainers/testcontainers "1.14.3"]]
|
||||||
:plugins [[metosin/bat-test "0.4.4"]]
|
:plugins [[metosin/bat-test "0.4.4"]
|
||||||
|
[lein-cljfmt "0.6.7"]]
|
||||||
:bat-test {:report [:pretty {:type :junit
|
:bat-test {:report [:pretty {:type :junit
|
||||||
:output-to "target/junit.xml"}]}
|
:output-to "target/junit.xml"}]}
|
||||||
:target-path "target/%s")
|
:target-path "target/%s")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,8 +51,8 @@
|
||||||
:exposed-ports [5432]
|
:exposed-ports [5432]
|
||||||
:env-vars {"POSTGRES_PASSWORD" "pw"}})
|
:env-vars {"POSTGRES_PASSWORD" "pw"}})
|
||||||
(bind-filesystem! {:host-path "."
|
(bind-filesystem! {:host-path "."
|
||||||
:container-path "/opt"
|
:container-path "/opt"
|
||||||
:mode :read-only}))
|
:mode :read-only}))
|
||||||
initialized-container (start! container)
|
initialized-container (start! container)
|
||||||
file-check (execute-command! initialized-container ["tail" "/opt/README.md"])
|
file-check (execute-command! initialized-container ["tail" "/opt/README.md"])
|
||||||
stopped-container (stop! container)]
|
stopped-container (stop! container)]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue