Skip to content

Commit

Permalink
Include clj-kondo configs in resulting Jar file and update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
axvr committed Aug 7, 2023
1 parent 9aca254 commit c435230
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions build/build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,16 @@
"Build the JAR."
[_opts]
(clean nil)
(b/copy-dir {:src-dirs ["src"]
(b/copy-dir {:src-dirs ["src" "resources"]
:target-dir class-dir})
(compile nil)
(b/write-pom {:class-dir class-dir
:lib lib
:version version
:basis basis
:src-dirs ["src"]
:src-pom "build/pom.xml"})
(b/write-pom {:class-dir class-dir
:lib lib
:version version
:basis basis
:resource-dirs ["resources"]
:src-dirs ["src"]
:src-pom "build/pom.xml"})
(b/jar {:class-dir class-dir
:jar-file jar-file}))

Expand Down
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
:lint {:replace-deps {clj-kondo/clj-kondo {:mvn/version "RELEASE"}}
:main-opts ["-m" "clj-kondo.main" "--parallel" "--lint" "src"]}
;; clj -T:cljfmt fix
:cljfmt {:deps {io.github.weavejester/cljfmt {:git/tag "0.11.1", :git/sha "0882f99"}}
:cljfmt {:deps {io.github.weavejester/cljfmt {:git/tag "0.11.2", :git/sha "fb26b22"}}
:ns-default cljfmt.tool}
;; clj -T:antq outdated
:antq {:deps {com.github.liquidz/antq {:mvn/version "RELEASE"}
Expand Down

0 comments on commit c435230

Please sign in to comment.