-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (28 loc) · 810 Bytes
/
Makefile
File metadata and controls
41 lines (28 loc) · 810 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
41
.PHONY: all docs firmware clean test clean
all: docs
docs:
$(MAKE) -C docs/ html
docs-clean:
rm -R docs/_build
firmware:
cd embedded/firmware; platformio run -t upload
sa-debug:
smartanthill --workspacedir=examples/arduino-router/workspace --logger.level=DEBUG
cc-debug:
twistd -n --pidfile=twistd-cc.pid smartanthill-cc
dashboard-build:
cd smartanthill/dashboard/site; grunt build
dashboard-debug:
cd smartanthill/dashboard/site; grunt serve
dashboard-clean:
cd smartanthill/dashboard/site; grunt clean
test:
tox
cd smartanthill/dashboard/site; grunt test
py-clean:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
rm twisted/plugins/dropin.cache
push-rtd:
curl -X POST http://readthedocs.org/build/smartanthill
clean: docs-clean py-clean dashboard-clean