Tudo: Primeiro commit

This commit is contained in:
mguinhos committed 2026-09-30 21:10:51 -03:00
commit 06a90928dc
4633 files changed
+6327263

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
# Makefile: build autocontido e servidor local da apresentação.
#
# make -> gera build/index.html (CSS/JS embutidos) + build/assets/
# make build -> igual a `make`
# make pdf -> gera build/robo-movel.pdf (depende de build)
# make serve -> sobe um servidor local em build/
# make clean -> remove a pasta build/
PYTHON ?= python3
PORT ?= 8000
NODE ?= node
.PHONY: all build pdf serve clean
all: build
build:
$(PYTHON) scripts/build.py
pdf: build
$(NODE) scripts/build-pdf.cjs
serve: build
@echo "Servindo em http://localhost:$(PORT)/ (Ctrl+C para parar)"
cd build && $(PYTHON) -m http.server $(PORT)
clean:
rm -rf build