mirror of
https://github.com/OliveTin/OliveTin
synced 2026-09-23 02:05:42 +00:00
Remove redundant component scanning, lazy-load terminal CSS and locale messages, and clean obsolete frontend package metadata. Generate one JSON file per locale so initial loads only fetch English and the selected locale. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
355 B
Makefile
26 lines
355 B
Makefile
define delete-files
|
|
python3 -c "import shutil;shutil.rmtree('$(1)', ignore_errors=True)"
|
|
endef
|
|
|
|
codestyle: deps
|
|
npm run lint
|
|
|
|
codestyle-fix: deps
|
|
npm run lint:fix
|
|
|
|
unittests: deps
|
|
npm test
|
|
|
|
clean:
|
|
$(call delete-files,dist)
|
|
|
|
deps:
|
|
npm ci
|
|
|
|
build:
|
|
npm run build
|
|
|
|
dist: deps clean build
|
|
|
|
.PHONY: codestyle codestyle-fix unittests deps build dist clean
|