-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.boot
28 lines (26 loc) · 1 KB
/
build.boot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(set-env! :dependencies
'[[com.amazonaws/aws-java-sdk-sts "1.9.39"]
[boot/core "2.0.0"]
[clojure-ini "0.0.2"]
[org.clojure/clojure "1.6.0"]]
:source-paths #{"src"}
:repositories
#(conj % ["clojars-upload"
{:url "https://clojars.org/repo"
:username (System/getenv "CLOJARS_USERNAME")
:password (System/getenv "CLOJARS_PASSWORD")}]))
(task-options!
pom {:project 'tempcreds
:url "https://github.com/dysmento/tempcreds"
:version "1.2"
:description "A small library for setting local temporary credentials for AWS using an MFA device."
:license {"Apache License" "http://opensource.org/licenses/Apache-2.0"}}
aot {:all true}
push {:gpg-sign true
:repo "clojars-upload"
:gpg-user-id "[email protected]"
:gpg-passphrase (System/getenv "GPG_PASSPHRASE")})
(deftask build
"Build the tempcreds library jar."
[]
(comp (aot) (pom) (jar)))