-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (19 loc) · 709 Bytes
/
Makefile
File metadata and controls
26 lines (19 loc) · 709 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
.PHONY: release deploy clean help test
clean:
clj -T:build clean
clindex.jar:
clj -T:build jar
install: clindex.jar
mvn install:install-file -Dfile=target/clindex.jar -DpomFile=target/classes/META-INF/maven/com.github.jpmonettas/clindex/pom.xml
deploy:
mvn deploy:deploy-file -Dfile=target/clindex.jar -DrepositoryId=clojars -DpomFile=target/classes/META-INF/maven/com.github.jpmonettas/clindex/pom.xml -Durl=https://clojars.org/repo
test:
clj -M:test:runner
tag-release:
git add CHANGELOG.md && \
git commit -m "Updating CHANGELOG after $(version) release" && \
git tag "v$(version)" && \
git push origin master
help:
@echo "For releasing to clojars run"
@echo "make version=x.y.z release"