forked from janushendersonassetallocation/loman
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
74 lines (66 loc) · 1.86 KB
/
Taskfile.yml
File metadata and controls
74 lines (66 loc) · 1.86 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
# This file is part of the tschm/.config-templates repository
# (https://github.com/tschm/.config-templates).
#
# Taskfile: Root Taskfile
#
# Purpose: Provide a unified entry point for developer tasks by grouping
# build, quality, documentation, and cleanup commands. Exposes
# helpful default and help targets.
#
# Components:
# - includes: build, quality, docs, cleanup
# - tasks:
# - default: show top-level tasks
# - help: show all tasks including nested ones
version: '3'
silent: true
# Variables
vars:
TESTS_FOLDER: tests
MARIMO_FOLDER: book/marimo
BOOK_TITLE: '{{env "REPO_NAME"}}' # defined below env section
BOOK_SUBTITLE: 'Documentation and Reports'
OPTIONS: ''
# Environment variables
env:
# Colors for pretty output
BLUE: '\x1b[36m'
GREEN: '\x1b[32m'
RED: '\x1b[31m'
YELLOW: '\x1b[33m'
CYAN: '\x1b[36m'
MAGENTA: '\x1b[35m'
BOLD: '\x1b[1m'
RESET: '\x1b[0m'
# Set repository name
REPO_NAME:
sh: basename $(pwd)
#LOG_INFO: 'printf "${BLUE}[INFO] %s${RESET}\n"'
#LOG_SUCCESS: 'printf "${GREEN}[SUCCESS] %s${RESET}\n"'
#LOG_ERROR: 'printf "${RED}[ERROR] %s${RESET}\n"'
# Include task groups
includes:
build:
taskfile: ./taskfiles/build.yml
desc: Build tasks for managing dependencies and building packages
quality:
taskfile: ./taskfiles/quality.yml
desc: Code quality tasks for formatting, linting, and checking code
docs:
taskfile: ./taskfiles/docs.yml
desc: Documentation tasks for building docs, notebooks, and books
cleanup:
taskfile: ./taskfiles/cleanup.yml
desc: Cleanup tasks for removing generated files and directories
# Task definitions
tasks:
default:
desc: Display help information
silent: true
cmds:
- ./bin/task --list
help:
desc: Display help information with all tasks
silent: true
cmds:
- ./bin/task --list-all