-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (31 loc) · 1.3 KB
/
Makefile
File metadata and controls
40 lines (31 loc) · 1.3 KB
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
.PHONY: help check clean doc
help:
@echo "----- INSTALL -------------------------------------------------------------------"
@echo "install install and link the scripts for the project"
@echo "----- BUILD ---------------------------------------------------------------------"
@echo "all clean and build the project"
@echo "build build the project for release"
@echo "buildDebug build the project for debug"
@echo "----- LINT -------------------------------------------------------------"
@echo "lint lint all packages"
@echo "----- OTHERS --------------------------------------------------------------------"
@echo "clean clean the project"
@echo "help print this message"
@echo "doc build the javadoc"
all: clean build
install:
chmod +x ./scripts/pre-commit-config.sh
ln -sf ../../scripts/pre-commit-config.sh ./.git/hooks/pre-commit
chmod +x ./.git/hooks/pre-commit
check:
./gradlew :sdk-core:lint :sdk-api:lint :sdk-fleet:lint
lint:
./gradlew lint
clean:
./gradlew clean
build:
./gradlew :sdk-core:assembleRelease :sdk-api:assembleRelease :sdk-fleet:assembleRelease
buildDebug:
./gradlew :sdk-core:assembleDebug :sdk-api:assembleDebug :sdk-fleet:assembleDebug
doc:
./gradlew dokka