-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathMakefile
More file actions
66 lines (51 loc) · 1.59 KB
/
Makefile
File metadata and controls
66 lines (51 loc) · 1.59 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
56
57
58
59
60
61
62
63
64
65
66
# Makefile for rte_ckeditor_image TYPO3 Extension
# Shared targets: help, install, update, cgl, cgl-fix, phpstan, phpstan-baseline,
# rector, rector-fix, lint, quality, test, test-unit, test-functional, ci, clean
-include .Build/vendor/netresearch/typo3-ci-workflows/Makefile.include
# ===================================
# DDEV Environment Commands
# ===================================
.PHONY: up
up: ## Complete startup (start DDEV + run setup)
@echo "Starting DDEV environment..."
@ddev start
@echo ""
@echo "Running setup (docs + v13 + v14)..."
@ddev setup
.PHONY: start
start: ## Start DDEV environment
ddev start
.PHONY: stop
stop: ## Stop DDEV environment
ddev stop
.PHONY: setup
setup: ## Complete setup (docs + install v13 + install v14)
@ddev describe >/dev/null 2>&1 || ddev start
ddev setup
.PHONY: install-v13
install-v13: ## Install TYPO3 v13.4 LTS
ddev install-v13
.PHONY: install-v14
install-v14: ## Install TYPO3 v14.0
ddev install-v14
.PHONY: ddev-restart
ddev-restart: ## Restart DDEV containers
ddev restart
# ===================================
# Extension-Specific Test Commands
# ===================================
.PHONY: test-e2e
test-e2e: ## Run E2E tests (requires DDEV)
composer ci:test:e2e
# ===================================
# Documentation
# ===================================
.PHONY: docs
docs: ## Render extension documentation
ddev docs
.PHONY: docs-lint
docs-lint: ## Lint documentation (TYPO3 guidelines compliance)
./Build/Scripts/validate-docs.sh
.PHONY: docs-fix
docs-fix: ## Fix auto-fixable documentation issues
./Build/Scripts/validate-docs.sh --fix