-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update tools.build; drop template pom.xml
- Loading branch information
1 parent
ebf132b
commit 92fb663
Showing
4 changed files
with
26 additions
and
31 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
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 |
---|---|---|
|
@@ -57,17 +57,32 @@ | |
(conj :cljs))) | ||
opts) | ||
|
||
(defn- pom-template [version] | ||
[[:description "A clojure.test-compatible version of the classic Expectations testing library."] | ||
[:url "https://github.com/clojure-expectations/clojure-test"] | ||
[:licenses | ||
[:license | ||
[:name "Eclipse Public License"] | ||
[:url "http://www.eclipse.org/legal/epl-v10.html"]]] | ||
[:developers | ||
[:developer | ||
[:name "Sean Corfield"]]] | ||
[:scm | ||
[:url "https://github.com/clojure-expectations/clojure-test"] | ||
[:connection "scm:git:https://github.com/clojure-expectations/clojure-test.git"] | ||
[:developerConnection "scm:git:ssh:[email protected]:clojure-expectations/clojure-test.git"] | ||
[:tag (str "v" version)]]]) | ||
|
||
(defn- jar-opts [opts] | ||
(let [version (if (:snapshot opts) snapshot version)] | ||
(assoc opts | ||
:lib lib :version version | ||
:jar-file (format "target/%s-%s.jar" lib version) | ||
:scm {:tag (str "v" version)} | ||
:basis (b/create-basis {}) | ||
:lib lib :version version | ||
:jar-file (format "target/%s-%s.jar" lib version) | ||
:basis (b/create-basis {}) | ||
:class-dir class-dir | ||
:target "target" | ||
:src-dirs ["src"] | ||
:src-pom "template/pom.xml"))) | ||
:target "target" | ||
:src-dirs ["src"] | ||
:pom-data (pom-template version)))) | ||
|
||
(defn ci "Run the CI pipeline of tests (and build the JAR)." [opts] | ||
(test opts) | ||
|
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 was deleted.
Oops, something went wrong.