-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
53 lines (36 loc) · 1.43 KB
/
Copy pathMakefile
File metadata and controls
53 lines (36 loc) · 1.43 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
# Darwin Lab - the universal entry point. Thin wrapper only: every target is one script call;
# the logic (checks, ports, PIDs, readiness, aggregation) lives in scripts/make/.
SHELL := /bin/bash
.DEFAULT_GOAL := help
# ── Setup & orchestration ─────────────────────────────────────────────
.PHONY: help setup start run preview stop logs deploy
help:
@./scripts/make/help.sh
setup:
@./scripts/make/install.sh
start:
@./scripts/make/run.sh
run: setup start
preview:
@./scripts/make/run.sh --preview
stop:
@./scripts/make/run.sh --stop
logs:
@./scripts/make/run.sh --logs
# Publish to GitHub Pages - on demand only. Merging never deploys; this does.
deploy:
@./scripts/make/deploy.sh
# ── Testing ───────────────────────────────────────────────────────────
.PHONY: test test-unit test-e2e
test:
@./scripts/make/run-tests.sh --all
test-unit:
@./scripts/make/run-tests.sh --unit
test-e2e:
@./scripts/make/run-tests.sh --e2e
# ── Code quality ──────────────────────────────────────────────────────
.PHONY: lint lint-fix
lint:
@./scripts/make/run-linters.sh --all
lint-fix:
@./scripts/make/run-linters.sh --all --fix