-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
123 lines (105 loc) · 4.56 KB
/
Copy pathTaskfile.yml
File metadata and controls
123 lines (105 loc) · 4.56 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# ==============================================================================
# GlassHub Catalyst - Cross-Platform Automation (Taskfile)
# Documentation: https://taskfile.dev
# Installation: winget install Task.Task (Windows) | sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d (Linux)
# ==============================================================================
version: "3"
tasks:
default:
desc: "List all available Catalyst tasks"
cmds:
- task --list
install:
desc: "Download and install all compilers, tools (Pandoc/LaTeX), runtimes, and libraries"
cmds:
- cmd: powershell -NoProfile -ExecutionPolicy Bypass -File ./scripts/cli/windows/install-dependencies.ps1
platforms: [windows]
- cmd: bash ./scripts/cli/linux/install-dependencies.sh
platforms: [linux, darwin]
document:
desc: "Consolidate Markdown docs into publication/documento-completo.md with numeric ordering and TOC"
cmds:
- cmd: powershell -NoProfile -ExecutionPolicy Bypass -File ./scripts/cli/windows/generate-document.ps1
platforms: [windows]
- cmd: bash ./scripts/cli/linux/generate-document.sh
platforms: [linux, darwin]
pdf:
desc: "Generate versioned PDF document (e.g.: task pdf -- -m 'Corporate')"
cmds:
- cmd: powershell -NoProfile -ExecutionPolicy Bypass -File ./scripts/cli/windows/generate-pdf.ps1 {{.CLI_ARGS}}
platforms: [windows]
- cmd: bash ./scripts/cli/linux/generate-pdf.sh {{.CLI_ARGS}}
platforms: [linux, darwin]
site:
desc: "Generate interactive Web documentation in dist/webpage (e.g.: task site -- -l 'Py' -m 'Glassmorphic')"
cmds:
- cmd: powershell -NoProfile -ExecutionPolicy Bypass -File ./scripts/cli/windows/generate-site.ps1 {{.CLI_ARGS}}
platforms: [windows]
- cmd: bash ./scripts/cli/linux/generate-site.sh {{.CLI_ARGS}}
platforms: [linux, darwin]
serve:
desc: "Start local documentation web server with RAG and AI (e.g.: task serve -- -l 'Py' -p 8000)"
cmds:
- cmd: powershell -NoProfile -ExecutionPolicy Bypass -File ./scripts/cli/windows/serve-site.ps1 {{.CLI_ARGS}}
platforms: [windows]
- cmd: bash ./scripts/cli/linux/serve-site.sh {{.CLI_ARGS}}
platforms: [linux, darwin]
validate:
desc: "Validate internal links and image asset references"
cmds:
- cmd: powershell -NoProfile -ExecutionPolicy Bypass -File ./scripts/cli/windows/validate-links.ps1
platforms: [windows]
- cmd: bash ./scripts/cli/linux/validate-links.sh
platforms: [linux, darwin]
docs:
desc: "Run full documentation pipeline (validate + document + pdf + site)"
cmds:
- task: validate
- task: document
- task: pdf
- task: site
build:
desc: "Run full build pipeline (validate + doc + pdf + site + docker containers with optional -l, -m, --all)"
cmds:
- cmd: powershell -NoProfile -ExecutionPolicy Bypass -File ./scripts/cli/windows/build.ps1 {{.CLI_ARGS}}
platforms: [windows]
- cmd: bash ./scripts/cli/linux/build.sh {{.CLI_ARGS}}
platforms: [linux, darwin]
report:
desc: "Generate and export Datadog telemetry and performance audit report"
cmds:
- cmd: python -u ./scripts/core/datadog_reporter.py --summary
platforms: [windows]
- cmd: python3 -u ./scripts/core/datadog_reporter.py --summary
platforms: [linux, darwin]
clean:
desc: "Clean generated build artifacts (dist/, documento-completo.md, etc.)"
cmds:
- cmd: powershell -NoProfile -ExecutionPolicy Bypass -File ./scripts/cli/windows/clean.ps1
platforms: [windows]
- cmd: bash ./scripts/cli/linux/clean.sh
platforms: [linux, darwin]
docker:up:
desc: "Start services with default Python stack in Docker (Web + RAG + Ollama + Redis + Datadog on port 8000)"
cmds:
- docker compose --profile python up -d
docker:python:
desc: "Start Python stack in Docker (Nginx Web + FastAPI RAG on port 8000)"
cmds:
- docker compose --profile python up -d
docker:php:
desc: "Start PHP stack in Docker (PHP Web + RAG on port 8000)"
cmds:
- docker compose --profile php up -d
docker:node:
desc: "Start Node.js / Express stack in Docker (Node Web + RAG on port 8000)"
cmds:
- docker compose --profile node up -d
docker:down:
desc: "Stop all Docker containers across all profiles"
cmds:
- docker compose --profile python --profile php --profile node down
docker:logs:
desc: "Follow Docker container logs"
cmds:
- docker compose logs -f