-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (31 loc) · 965 Bytes
/
Makefile
File metadata and controls
39 lines (31 loc) · 965 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
36
37
38
39
.PHONY: dist test build
ifeq ($(OS),Windows_NT)
ROOT_PWD=$(shell powershell -Command '(Get-Location).Path')
ENV_HOME_PATH?=$(shell powershell -Command '$$HOME')
ENV_GRADLE_WRAPPER_EXEC=.\gradlew.bat
else
ROOT_PWD=$(shell pwd)
ENV_HOME_PATH?=${HOME}
ENV_GRADLE_WRAPPER_EXEC=./gradlew
endif
include z-android-base.mk
include plugin/z-plugin.mk
include demo/z-demo.mk
.PHONY: dep
dep: demoDependImplementation pluginDependImplementation
.PHONY: test
test: demoTest pluginTest
.PHONY: assemble.debug
assemble.debug: pluginAssembleDebug demoAssembleDebug
.PHONY: ci.prepare
ci.prepare: env init
.PHONY: ci
ci: ci.prepare test assemble.debug
.PHONY: help
help: help-plugin help-demo help.android.base
@echo ""
@echo "make dep ~> show all depend implementation"
@echo "make test ~> run all test"
@echo "make ci ~> run fast as CI"
@echo ""
@echo "more task see Makefile!"