-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (32 loc) · 856 Bytes
/
Makefile
File metadata and controls
40 lines (32 loc) · 856 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
40
PACKAGE_DIR := Packages/com.teach310.core-bluetooth-for-unity
.PHONY: help
#: ヘルプコマンド
help:
@grep -A1 -E "^#:" Makefile \
| grep -v -- -- \
| sed 'N;s/\n/###/' \
| sed -n 's/^#: \(.*\)###\(.*\):.*/\2###\1/p' \
| column -t -s '###'
.PHONY: format
format:
dotnet format CoreBluetooth.csproj
.PHONY: format/test
format/test:
dotnet format CoreBluetooth.Tests.csproj
.PHONY: format/all
format/all:
dotnet format CoreBluetoothForUnity.sln
.PHONY: package/build
package/build:
mv -f ./Assets/CoreBluetooth/Samples/ ./${PACKAGE_DIR}/Samples~/
mv -f README.md ./${PACKAGE_DIR}/README.md
.PHONY: plugins/build
plugins/build:
make -C Plugins/CoreBluetoothForUnity dylib
make -C Plugins/CoreBluetoothForUnity framework
.PHONY: docs/clean
docs/clean:
rm -rf ./docs/_site
.PHONY: docs/build
docs/build:
dotnet docfx docs/docfx.json