-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
46 lines (34 loc) · 734 Bytes
/
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
GRADLE_CMD ?= ./gradlew
ADB_CMD ?= adb
.PHONY: clean
clean:
@$(GRADLE_CMD) clean
.PHONY: build
build:
@$(GRADLE_CMD) assemble
.PHONY: dist.wasm
dist.wasm:
@$(GRADLE_CMD) wasmJsBrowserDistribution
.PHONY: fmt
fmt:
@$(GRADLE_CMD) spotlessApply
.PHONY: dokka
dokka:
@$(GRADLE_CMD) dokkaHtmlMultiModule
.PHONY: publish
publish:
@$(GRADLE_CMD) publish
.PHONY: publish.local
publish.local:
@$(GRADLE_CMD) publishToMavenLocal
## ----- Sample App ----- ##
.PHONY: play.wasm
play.wasm:
@$(GRADLE_CMD) wasmJsBrowserDevelopmentRun
.PHONY: play.desktop
play.desktop:
@$(GRADLE_CMD) runDistributable
.PHONY: play.android
play.android:
@$(GRADLE_CMD) installDebug
@$(ADB_CMD) shell am start -n soil.kmp/soil.kmp.MainActivity