-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.mise.toml
More file actions
67 lines (57 loc) · 1.57 KB
/
.mise.toml
File metadata and controls
67 lines (57 loc) · 1.57 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
[settings]
experimental = true
[tools]
# Core development tools
crystal = "latest"
node = "latest"
kubectl = "latest"
helm = "latest"
terraform = "latest"
[env]
LUCKY_ENV = "development"
CRYSTAL_WORKERS = "4"
[tasks.setup]
description = "Setup development environment"
run = """
#!/bin/bash
echo "🔧 Setting up development environment..."
# Install Claude Code CLI globally
if ! command -v claude &> /dev/null; then
echo "📦 Installing Claude Code CLI..."
npm install -g @anthropic-ai/claude-code || true
fi
# Install devcontainer CLI
if ! command -v devcontainer &> /dev/null; then
echo "📦 Installing DevContainer CLI..."
npm install -g @devcontainers/cli || true
fi
# Install Lucky CLI if not present
if ! command -v lucky &> /dev/null; then
echo "📦 Installing Lucky CLI..."
git clone https://github.com/luckyframework/lucky_cli.git /tmp/lucky_cli
cd /tmp/lucky_cli
shards build --production
sudo cp bin/lucky /usr/local/bin/
cd -
rm -rf /tmp/lucky_cli
fi
# Install Crystal dependencies
echo "📦 Installing Crystal dependencies..."
shards install || true
# Install Node dependencies
echo "📦 Installing Node dependencies..."
npm install || true
echo "✅ Setup complete!"
"""
[tasks.check]
description = "Check all tools are installed"
run = """
#!/bin/bash
echo "🔍 Checking tools..."
echo "Crystal: $(crystal --version)"
echo "Node: $(node --version)"
echo "Python: $(python --version)"
echo "Terraform: $(terraform --version)"
echo "kubectl: $(kubectl version --client)"
echo "Lucky: $(lucky --version || echo 'Not installed yet')"
"""