-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
73 lines (49 loc) · 1.44 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
TOP_DIR=.
README=$(TOP_DIR)/README.md
VERSION=$(strip $(shell cat version))
build:
@echo "Building the software..."
init: install dep
@echo "Initializing the repo..."
travis-init:
@echo "Initialize software required for travis (normally ubuntu software)"
install:
@echo "Install software required for this repo..."
dep:
@echo "Install dependencies required for this repo..."
@gradlew buildDependents
pre-build: install dep
@echo "Running scripts before the build..."
post-build:
@echo "Running scripts after the build is done..."
all: pre-build build post-build
test:
@echo "Running test suites..."
lint:
@echo "Linting the software..."
doc:
@echo "Building the documenation..."
precommit: dep lint
travis-deploy: release
@echo "Deploy the software by travis"
clean:
@echo "Cleaning the build..."
watch:
@make build
@echo "Watching templates and slides changes..."
@fswatch -o src/ | xargs -n1 -I{} make build
run:
@echo "Running the software..."
maven:
@echo "uploading to maven"
@./gradlew clean assemble
@./gradlew :sdk-protobuf:javadoc
@./gradlew :sdk-protobuf:sourceSets
@./gradlew :sdk-protobuf:publishAllPublicationsToMavenRepository
@./gradlew :wallet-sdk:publish
mavenLocal:
@echo "uploading to maven"
@./gradlew clean assemble
@./gradlew publishToMavenLocal
include .makefiles/*.mk
.PHONY: build init travis-init install dep pre-build post-build all test doc precommit travis clean watch run bump-version create-pr