File tree 3 files changed +24
-5
lines changed
3 files changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ Relevant parts to add to the `build.boot` :
59
59
60
60
``` clojure
61
61
(set-env! :dependencies '[; ; ...
62
- [nha/boot-uglify " 0.0.6 " ]
62
+ [nha/boot-uglify " 2.8.29 " ]
63
63
])
64
64
65
65
(require
Original file line number Diff line number Diff line change 1
1
# https://github.com/boot-clj/boot
2
2
# Sat Jun 13 18:06:56 EEST 2015
3
3
BOOT_CLOJURE_VERSION =1.10.1
4
- BOOT_VERSION =2.8.3
4
+ BOOT_VERSION =2.8.2
5
5
BOOT_EMIT_TARGET =no
Original file line number Diff line number Diff line change 12
12
[org.apache.commons/commons-lang3 " 3.9" ]
13
13
[org.meteogroup.jbrotli/jbrotli " 0.5.0" ]])
14
14
15
- (require '[adzerk.bootlaces :refer [bootlaces! build-jar push-snapshot push-release ]]
15
+ (require '[adzerk.bootlaces :refer [bootlaces! build-jar push-snapshot]]
16
16
'[metosin.bat-test :refer [bat-test]]
17
17
'[adzerk.boot-test :refer [test]]
18
18
'[boot.core :as core :refer [deftask ]]
19
+ '[boot.task.built-in :refer [push]]
20
+ '[boot.git :refer [last-commit]]
19
21
'[nha.run])
20
22
21
- (def +version+ " 2.8.29-SNAPSHOT " )
23
+ (def +version+ " 2.8.29" )
22
24
23
25
(bootlaces! +version+)
24
26
27
+
28
+ (def ^:private +last-commit+
29
+ (try (last-commit ) (catch Throwable _)))
30
+
31
+ (deftask push-release
32
+ " Deploy release version to Clojars."
33
+ [f file PATH str " The jar file to deploy." ]
34
+ (comp
35
+ (#'adzerk.bootlaces/collect-clojars-credentials )
36
+ (push
37
+ :file file
38
+ :tag (boolean +last-commit+)
39
+ :gpg-sign false
40
+ :ensure-release true
41
+ :repo " deploy-clojars" )))
42
+
25
43
(task-options!
26
44
pom {:project 'nha/boot-uglify
27
45
:version +version+
28
46
:description " Boot task to uglify js code"
29
47
:url " https://github.com/nha/boot-uglify"
30
48
:scm {:url " https://github.com/nha/boot-uglify" }
31
- :license {" Eclipse Public License" " http://www.eclipse.org/legal/epl-v10.html" }})
49
+ :license {" Eclipse Public License" " http://www.eclipse.org/legal/epl-v10.html" }}
50
+ push-release {:gpg-sign false })
32
51
33
52
(deftask dev
34
53
" Dev process"
You can’t perform that action at this time.
0 commit comments