-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (26 loc) · 679 Bytes
/
Makefile
File metadata and controls
33 lines (26 loc) · 679 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
.PHONY: update
update:
git submodule update --remote lib/micropython && git add lib/micropython
.PHONY: build-fap
build-fap: update
ufbt build
.PHONY: launch
launch: build-fap
ufbt launch
.PHONY: clean
clean:
ufbt -c
.PHONY: build-pages
build-pages:
rm -rf ./dist/pages ./flipperzero/__init__.py
cat ./flipperzero/_*.py > ./flipperzero/__init__.py
source venv/bin/activate && sphinx-build docs/pages dist/pages
.PHONY: publish-pages
publish-pages: build-pages
./publish.sh pages
.PHONY: build-python
build-python:
source venv/bin/activate && hatch build
.PHONY: publish-python
publish-python: build-python
source venv/bin/activate && hatch publish dist/python/*