Makefile 371 B

123456789101112131415161718192021222324
  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
  16. source venv/bin/activate && sphinx-build docs/pages dist/pages
  17. .PHONY: publish
  18. publish: pages
  19. ./publish.sh pages