-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.gitpod.yml
More file actions
54 lines (46 loc) · 1.67 KB
/
.gitpod.yml
File metadata and controls
54 lines (46 loc) · 1.67 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
# Gitpod workspace configuration for this project.
# Uses magex for build tooling, linting, and testing.
# This creates a one-click development environment for contributors
image: gitpod/workspace-go:latest
tasks:
- name: setup-and-test
init: |
echo "🚀 Setting up development environment..."
echo "📦 Installing MAGE-X build tool..."
go install github.com/mrz1836/mage-x/cmd/magex@latest
echo "🔽 Downloading dependencies..."
magex deps:download
echo "🔍 Running linters..."
magex lint
echo "✅ Running initial tests..."
magex test
command: |
echo "==============================================="
echo "🎯 Welcome to development environment!"
echo "==============================================="
echo ""
echo "🛠️ Available magex commands:"
echo " magex test - Run all tests"
echo " magex lint - Run linters"
echo " magex format:fix - Format the code"
echo " magex build - Build the project (binary)"
echo " magex help - List all available commands"
echo ""
echo "📖 Quick start:"
echo " 1. Try: magex test"
echo " 2. Make your changes"
echo " 3. Run: magex format:fix && magex lint && magex test:race"
echo " 4. Commit and push your changes"
echo ""
echo "💡 For more help: magex help"
echo "==============================================="
ports:
- port: 8080
onOpen: ignore
description: Application (if needed)
vscode:
extensions:
- golang.go
- github.vscode-pull-request-github
- streetsidesoftware.code-spell-checker
- eamodio.gitlens