-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (25 loc) · 740 Bytes
/
Makefile
File metadata and controls
35 lines (25 loc) · 740 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
MODULE := licht
pkg: readme
@python3 setup.py sdist build
twinetest: pkg
@twine upload -r testpypi dist/*
twine: pkg
@twine upload -r pypi dist/*
dev: readme
@pipenv install --dev
@pipenv install -e .
readme:
@emacs --batch readme_src.org -f org-md-export-to-markdown
@mv readme_src.md README.md
service:
@sed -i 's/User=.*/User=${USER}/' licht.service
user-service: service
@cp licht.service ~/.config/systemd/user/licht.service
system-service: service
@cp licht.service /etc/systemd/system/
@chown root:root /etc/systemd/system/licht.service
@chmod 644 /etc/systemd/system/licht.service
pytest:
@pipenv run pytest -v --cov=licht --cov-report=html
clean:
rm -rf .pytest_cache .coverage htmlcov README.md dist build