feat: reorganize workbook into 3 tracks (core, engineering-2026, ecosystems)

This commit is contained in:
soda64 committed 2026-11-30 22:30:53 +01:00
1 parent 82677455b2
commit 2e002b6176
64 files changed
+2295 -196

No files matched your search

+23 -10
View File
@@ -9,33 +9,46 @@ RUN_CONTAINER = $(ENGINE) run --rm \
-w /workspace \
$(IMAGE)
.PHONY: help image check test clippy fmt fmt-check shell clean
.PHONY: help image check check-all test test-all clippy clippy-all fmt fmt-check shell clean
help:
@echo "Dostępne komendy:"
@echo " make image - Zbuduj obraz kontenera Rust (jednorazowo)"
@echo " make check - Sprawdź kompilację całego workspace"
@echo " make test - Uruchom testy wszystkich ćwiczeń"
@echo " make test PKG=ex01-basics - Uruchom testy wybranego rozdziału"
@echo " make clippy - Uruchom linter Clippy"
@echo " make fmt - Sformatuj kod (rustfmt)"
@echo " make shell - Otwórz powłokę bash wewnątrz kontenera"
@echo " make clean - Usuń katalog target/"
@echo " make image - Zbuduj obraz kontenera Rust (jednorazowo)"
@echo " make check - Szybki check 01-core + 02-engineering-2026 (czyste std)"
@echo " make check-all - Pełny check całego workspace (razem z 03-ecosystems)"
@echo " make test PKG=core01-basics - Uruchom testy wybranego rozdziału"
@echo " make test - Uruchom testy domyślnych ścieżek (01 + 02)"
@echo " make test-all - Uruchom testy całego workspace (01 + 02 + 03)"
@echo " make clippy - Linter Clippy dla 01-core + 02-engineering-2026"
@echo " make clippy-all - Linter Clippy dla całego workspace"
@echo " make fmt - Sformatuj kod (rustfmt)"
@echo " make fmt-check - Sprawdź formatowanie kodu"
@echo " make shell - Otwórz powłokę bash wewnątrz kontenera"
@echo " make clean - Usuń katalog target/"
image:
$(ENGINE) build -t $(IMAGE) -f Containerfile .
check:
$(RUN_CONTAINER) cargo check --tests
check-all:
$(RUN_CONTAINER) cargo check --workspace --tests
test:
ifdef PKG
$(RUN_CONTAINER) cargo test -p $(PKG) -- --nocapture
else
$(RUN_CONTAINER) cargo test --workspace
$(RUN_CONTAINER) cargo test
endif
test-all:
$(RUN_CONTAINER) cargo test --workspace
clippy:
$(RUN_CONTAINER) cargo clippy --all-targets
clippy-all:
$(RUN_CONTAINER) cargo clippy --workspace --all-targets
fmt: