forked from clojure-emacs/refactor-nrepl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (24 loc) · 798 Bytes
/
Makefile
File metadata and controls
35 lines (24 loc) · 798 Bytes
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
.PHONY: inline-deps test release deploy clean
VERSION ?= 1.10
.inline-deps:
lein inline-deps
touch .inline-deps
inline-deps: .inline-deps
test: .inline-deps
lein with-profile +$(VERSION),+plugin.mranderson/config test
cljfmt:
lein with-profile +$(VERSION),+cljfmt cljfmt check
# When releasing, the BUMP variable controls which field in the
# version string will be incremented in the *next* snapshot
# version. Typically this is either "major", "minor", or "patch".
BUMP ?= patch
release:
lein with-profile +$(VERSION) release $(BUMP)
# Deploying requires the caller to set environment variables as
# specified in project.clj to provide a login and password to the
# artifact repository.
deploy:
lein with-profile +$(VERSION) deploy clojars
clean:
lein clean
rm -f .inline-deps