-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (20 loc) · 686 Bytes
/
Makefile
File metadata and controls
26 lines (20 loc) · 686 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
usage:
@echo "Usage:"
@echo " make # this help (try ./gradlew tasks and follow"
@echo " # instructions for building some artifacts)"
@echo " make build # runs ./gradlew build"
@echo " make pull # to pull git flow branches"
@echo " make push # to push git flow branches"
build:
./gradlew build buildDoc
BRANCH := $(shell git branch | sed -n -e 's/^\* \(.*\)/\1/p')
pull:
git fetch --prune
git checkout master && git merge origin/master
git checkout develop && git merge origin/develop
git checkout ${BRANCH} && git merge origin/${BRANCH}
push: pull
git push --follow-tags origin master develop
clean:
rm -rf build .gradle
.PHONY: usage build pull push clean