-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 938 Bytes
/
Makefile
File metadata and controls
28 lines (21 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.PHONY: help lint-ui test-ui test-go test-runtime test-models test-desktop
help:
@echo "EdgePlug monorepo targets:"
@echo " make lint-ui - ESLint (ui)"
@echo " make test-ui - Jest unit tests (ui)"
@echo " make test-go - go test ./... (marketplace)"
@echo " make test-runtime - CMake preset ci-native + ctest (runtime/)"
@echo " make test-models - uv sync + pytest (models/)"
@echo " make test-desktop - lint + build (marketplace/desktop)"
lint-ui:
cd ui && npm ci && npm run lint
test-ui:
cd ui && npm ci && npm test -- --ci
test-go:
cd marketplace && go test ./... -count=1
test-runtime:
cd runtime && cmake --preset ci-native && cmake --build --preset ci-native && ctest --preset ci-native --output-on-failure
test-models:
cd models && uv sync --frozen --python 3.11 && uv run --python 3.11 pytest tests/ -q
test-desktop:
cd marketplace/desktop && npm ci && npm run lint && npm run build