forked from lqhuang/scala-native-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
97 lines (82 loc) · 2.71 KB
/
Copy pathMakefile
File metadata and controls
97 lines (82 loc) · 2.71 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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
MILL := ./mill
TASK_TARGET := modules._
##############
# Toolcahins #
##############
.PHONY: bsp
bsp:
${MILL} --bsp-install
.PHONY: fmt
fmt:
${MILL} format
install-mill-autocomp:
${MILL} mill.tabcomplete/install
source ~/.cache/mill/download/mill-completion.sh # MILL_SOURCE_COMPLETION_LINE
#########
# Build #
#########
# fix-check:
# ${MILL} ${TASK_TARGET}.fix --check
.PHONY: compile
compile:
${MILL} ${TASK_TARGET}.compile
.PHONY: test
test:
${MILL} ${TASK_TARGET}.test
.PHONY: clean
clean:
${MILL} clean
.PHONY: clean-all
clean-all: clean
rm -rf .bsp/ .metals/ out/
debug-native:
${MILL} show ${TASK_TARGET}.bridgeFullClassPath
${MILL} show ${TASK_TARGET}.runClasspath
${MILL} show ${TASK_TARGET}.nativeLink
${MILL} show ${TASK_TARGET}.nativeBuildTarget
${MILL} show ${TASK_TARGET}.nativeClang
${MILL} show ${TASK_TARGET}.nativeClangPP
${MILL} show ${TASK_TARGET}.nativeCompileOptions
${MILL} show ${TASK_TARGET}.nativeDump
${MILL} show ${TASK_TARGET}.nativeEmbedResources
${MILL} show ${TASK_TARGET}.nativeGC
${MILL} show ${TASK_TARGET}.nativeGCInput
${MILL} show ${TASK_TARGET}.nativeIncrementalCompilation
${MILL} show ${TASK_TARGET}.nativeIvyDeps
${MILL} show ${TASK_TARGET}.nativeLTO
${MILL} show ${TASK_TARGET}.nativeLTOInput
${MILL} show ${TASK_TARGET}.nativeLinkStubs
${MILL} show ${TASK_TARGET}.nativeLinkingOptions
${MILL} show ${TASK_TARGET}.nativeMultithreading
${MILL} show ${TASK_TARGET}.nativeOptimize
${MILL} show ${TASK_TARGET}.nativeOptimizeInput
${MILL} show ${TASK_TARGET}.nativeTarget
${MILL} show ${TASK_TARGET}.nativeWorkdir
debug-test-native:
${MILL} show ${TASK_TARGET}.test.bridgeFullClassPath
${MILL} show ${TASK_TARGET}.test.runClasspath
${MILL} show ${TASK_TARGET}.test.nativeLink
${MILL} show ${TASK_TARGET}.test.nativeBuildTarget
${MILL} show ${TASK_TARGET}.test.nativeClang
${MILL} show ${TASK_TARGET}.test.nativeClangPP
${MILL} show ${TASK_TARGET}.test.nativeCompileOptions
${MILL} show ${TASK_TARGET}.test.nativeDump
${MILL} show ${TASK_TARGET}.test.nativeEmbedResources
${MILL} show ${TASK_TARGET}.test.nativeGC
${MILL} show ${TASK_TARGET}.test.nativeGCInput
${MILL} show ${TASK_TARGET}.test.nativeIncrementalCompilation
${MILL} show ${TASK_TARGET}.test.nativeIvyDeps
${MILL} show ${TASK_TARGET}.test.nativeLTO
${MILL} show ${TASK_TARGET}.test.nativeLTOInput
${MILL} show ${TASK_TARGET}.test.nativeLinkStubs
${MILL} show ${TASK_TARGET}.test.nativeLinkingOptions
${MILL} show ${TASK_TARGET}.test.nativeMultithreading
${MILL} show ${TASK_TARGET}.test.nativeOptimize
${MILL} show ${TASK_TARGET}.test.nativeOptimizeInput
${MILL} show ${TASK_TARGET}.test.nativeTarget
${MILL} show ${TASK_TARGET}.test.nativeWorkdir
#########
# Utils #
#########
cloc:
cloc --vcs=git