Makefile 450 B

12345678910111213141516171819202122232425
  1. .PHONY: update
  2. update:
  3. git submodule update --remote lib/micropython && git add lib/micropython
  4. .PHONY: build
  5. build: update
  6. ufbt build
  7. .PHONY: launch
  8. launch: build
  9. ufbt launch
  10. .PHONY: clean
  11. clean:
  12. ufbt -c
  13. .PHONY: pages
  14. pages:
  15. rm -rf ./dist/pages ./flipperzero/__init__.py
  16. cat ./flipperzero/_*.py > ./flipperzero/__init__.py
  17. source venv/bin/activate && sphinx-build docs/pages dist/pages
  18. .PHONY: publish
  19. publish: pages
  20. ./publish.sh pages