-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
72579f2
commit 97990bd
Showing
5 changed files
with
50 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
(ns build | ||
"HoneySQL's build script. | ||
clojure -T:build ci | ||
clojure -T:build run-doc-tests :aliases '[:cljs]' | ||
Run tests: | ||
clojure -X:test | ||
clojure -X:test:master | ||
For more information, run: | ||
clojure -A:deps -T:build help/doc" | ||
(:refer-clojure :exclude [test]) | ||
(:require [clojure.tools.build.api :as b] | ||
[org.corfield.build :as bb])) | ||
|
||
(def lib 'com.github.dekelpilli/randy) | ||
(def version (format "0.0.%s" (b/git-count-revs nil))) | ||
|
||
(defn test [opts] | ||
(bb/run-tests opts)) | ||
|
||
(defn clean [opts] | ||
(bb/clean opts)) | ||
|
||
(defn jar [opts] | ||
(-> opts | ||
(assoc :lib lib :version version) | ||
(bb/jar))) | ||
|
||
(defn deploy [opts] | ||
(-> opts | ||
(assoc :lib lib :version version) | ||
(bb/deploy))) |
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#kaocha/v1 | ||
{:tests [{:id :unit | ||
:test-paths ["test" "src"] | ||
:ns-patterns [".*"]}]} |