forked from navikt/copilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.mise.toml
More file actions
78 lines (59 loc) · 1.36 KB
/
.mise.toml
File metadata and controls
78 lines (59 loc) · 1.36 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
# Root-level mise tasks for the monorepo
# These tasks orchestrate running tasks across all apps
[tasks.check]
description = "Run all checks across all apps"
run = '''
#!/usr/bin/env bash
set -e
echo "🔍 Running checks across all apps..."
echo ""
echo "📦 mcp-onboarding:"
(cd apps/mcp-onboarding && mise check)
echo ""
echo "📦 mcp-registry:"
(cd apps/mcp-registry && mise check)
echo ""
echo "📦 my-copilot:"
(cd apps/my-copilot && mise check)
echo ""
echo "✅ All checks passed"
'''
[tasks.test]
description = "Run tests across all apps"
run = '''
#!/usr/bin/env bash
set -e
echo "🧪 Running tests across all apps..."
echo ""
echo "📦 mcp-onboarding:"
(cd apps/mcp-onboarding && mise test)
echo ""
echo "📦 mcp-registry:"
(cd apps/mcp-registry && mise test)
echo ""
echo "📦 my-copilot:"
(cd apps/my-copilot && mise test)
echo ""
echo "✅ All tests passed"
'''
[tasks.build]
description = "Build all apps"
run = '''
#!/usr/bin/env bash
set -e
echo "🔨 Building all apps..."
echo ""
echo "📦 mcp-onboarding:"
(cd apps/mcp-onboarding && mise build)
echo ""
echo "📦 mcp-registry:"
(cd apps/mcp-registry && mise build)
echo ""
echo "📦 my-copilot:"
(cd apps/my-copilot && mise build)
echo ""
echo "✅ All apps built successfully"
'''
[tasks.all]
description = "Run all checks, tests, and builds across all apps"
depends = ["check", "test", "build"]