-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (43 loc) · 1.45 KB
/
Makefile
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.PHONY: version/major version/minor version/patch changelog/render tests/all tests/clojure tests/clojurescript
MAKE = make
# These are the locations of the directories we'll use
TARGET_DIR = target
#
# These are the main targets that we'll be making
#
version/major:
$(info Updating major version and adding CHANGELOG entry...)
@ lein vcs assert-committed
@ lein change version leiningen.release/bump-version major
@ lein change version leiningen.release/bump-version release
@ lein sealog bump major
@ lein pom
@ npm version major --no-git-tag-version
version/minor:
$(info Updating minor version and adding CHANGELOG entry...)
@ lein vcs assert-committed
@ lein change version leiningen.release/bump-version minor
@ lein change version leiningen.release/bump-version release
@ lein sealog bump minor
@ lein pom
@ npm version minor --no-git-tag-version
version/patch:
$(info Updating patch version and adding CHANGELOG entry...)
@ lein vcs assert-committed
@ lein change version leiningen.release/bump-version patch
@ lein change version leiningen.release/bump-version release
@ lein sealog bump patch
@ lein pom
@ npm version patch --no-git-tag-version
changelog/render:
$(info Rendering CHANGELOG...)
@ lein sealog render
tests/all: tests/clojure tests/clojurescript
tests/clojure:
$(info Running Clojure tests...)
@ lein test
tests/clojurescript:
$(info Running ClojureScript tests...)
@ lein clean
@ lein cljsbuild once test
@ lein doo once