Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into functions-provider-spi
Browse files Browse the repository at this point in the history
  • Loading branch information
erdos committed Jul 30, 2024
2 parents 6f589c8 + 0816a6c commit 70d0cab
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: clean prepare lint pom jar uberjar javadoc compile clj-test java-test visual-test coverage test all
.PHONY: clean prepare lint pom install jar uberjar javadoc compile clj-test java-test visual-test coverage test all
.DEFAULT_GOAL := all

clean:
Expand All @@ -13,6 +13,9 @@ lint: clean
pom: clean
clojure -T:build pom

install: clean
clojure -T:build install

jar: clean
clojure -T:build jar

Expand Down
9 changes: 9 additions & 0 deletions build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@
(println "Built JAR file")
opts)

(defn install [opts]
(jar opts)
(b/install {:basis basis
:lib lib
:version version
:jar-file jar-file-name
:class-dir jar-content})
opts)

(defn java-test [_]
(def basis (b/create-basis {:project "deps.edn" :aliases [:junit]}))

Expand Down

0 comments on commit 70d0cab

Please sign in to comment.