glances/Makefile

20 lines
401 B
Makefile

PORT?=8008
install:
sensible-browser "https://github.com/nicolargo/glances#installation"
test:
./unitest-all.sh
docs:
cd docs && ./build.sh
docs-server: docs
(sleep 2 && sensible-browser "http://localhost:$(PORT)") &
cd docs/_build/html/ && python -m SimpleHTTPServer $(PORT)
webui:
cd glances/outputs/static/ && npm install && npm audit fix && npm run build
.PHONY: test docs docs-server