-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
55 lines (39 loc) · 1.85 KB
/
Copy pathMakefile
File metadata and controls
55 lines (39 loc) · 1.85 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# telecode Makefile
#
# Thin dispatcher only — every target is a one-liner that invokes a script in
# scripts/. Logic lives there; see scripts/lib/ui.sh for the shared output
# library and .claude/plans/makefile-generation-generic-build-plan.md for the
# design. Run `make help` (or just `make`) for the command reference.
SHELL := /bin/bash
.DEFAULT_GOAL := help
# ── Help ─────────────────────────────────────────────────────────────────────
.PHONY: help
help:
@./scripts/help.sh
# ── Setup & Run ──────────────────────────────────────────────────────────────
.PHONY: setup start start-all run stop
setup:
@./scripts/install.sh
start:
@./scripts/run.sh --backend-only
start-all:
@./scripts/run.sh
# `make run` is the bulletproof end-to-end target: install everything from a
# fresh clone + start the full stack. The one command a contributor needs.
run: setup start-all
stop:
@./scripts/run.sh --stop
# ── Testing ──────────────────────────────────────────────────────────────────
.PHONY: test test-unit test-e2e
test:
@./scripts/run-tests.sh --all
test-unit:
@./scripts/run-tests.sh --unit
test-e2e:
@./scripts/run-tests.sh --e2e
# ── Linting ──────────────────────────────────────────────────────────────────
.PHONY: lint lint-fix
lint:
@./scripts/run-linters.sh --all
lint-fix:
@./scripts/run-linters.sh --all --fix