Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
copilot-sdk/justfile at main · pottis/copilot-sdk · GitHub
Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
pottis
copilot-sdk
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
copilot-sdk
/
justfile
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
171 lines (135 loc) · 5.25 KB
main
Breadcrumbs
copilot-sdk
/
justfile
Copy path
Top
File metadata and controls
Code
Blame
171 lines (135 loc) · 5.25 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# Default recipe to display help
default
:
@
just --list
# Format all code across all languages
format
:
format-go
format-python
format-nodejs
format-dotnet
format-rust
# Lint all code across all languages
lint
:
lint-go
lint-python
lint-nodejs
lint-dotnet
lint-rust
# Run tests for all languages
test
:
test-go
test-python
test-nodejs
test-dotnet
test-rust
test-corrections
# Format Go code
format-go
:
@
echo
"
=== Formatting Go code ==="
@
cd go
&&
find . -name
"
*.go"
-not -path
"
*/generated/*"
-exec gofmt -w {}
+
# Format Python code
format-python
:
@
echo
"
=== Formatting Python code ==="
@
cd python
&&
uv run ruff format .
# Format Node.js code
format-nodejs
:
@
echo
"
=== Formatting Node.js code ==="
@
cd nodejs
&&
npm run format
# Format .NET code
format-dotnet
:
@
echo
"
=== Formatting .NET code ==="
@
cd dotnet
&&
dotnet format src
/
GitHub.Copilot.SDK.csproj
# Lint Go code
lint-go
:
@
echo
"
=== Linting Go code ==="
@
cd go
&&
golangci-lint run .
/
...
# Lint Python code
lint-python
:
@
echo
"
=== Linting Python code ==="
@
cd python
&&
uv run ruff check .
&&
uv run ty check copilot
# Lint Node.js code
lint-nodejs
:
@
echo
"
=== Linting Node.js code ==="
@
cd nodejs
&&
npm run format:check
&&
npm run lint
&&
npm run typecheck
# Lint .NET code
lint-dotnet
:
@
echo
"
=== Linting .NET code ==="
@
cd dotnet
&&
dotnet format src
/
GitHub.Copilot.SDK.csproj --verify-no-changes
# Test Go code
test-go
:
@
echo
"
=== Testing Go code ==="
@
cd go
&&
go test .
/
...
# Test Python code
test-python
:
@
echo
"
=== Testing Python code ==="
@
cd python
&&
uv run pytest
# Test Node.js code
test-nodejs
:
@
echo
"
=== Testing Node.js code ==="
@
cd nodejs
&&
npm test
# Test .NET code
test-dotnet
:
@
echo
"
=== Testing .NET code ==="
@
cd dotnet
&&
dotnet test test
/
GitHub.Copilot.SDK.Test.csproj
# Format Rust code (uses nightly for unstable formatting options)
format-rust
:
@
echo
"
=== Formatting Rust code ==="
@
cd rust
&&
cargo
+
nightly-
2026-04-
1
4
fmt --all -- --config-path .rustfmt.nightly.toml
# Lint Rust code
lint-rust
:
@
echo
"
=== Linting Rust code ==="
@
cd rust
&&
cargo
+
nightly-
2026-04-
1
4
fmt --all -- --config-path .rustfmt.nightly.toml --check
@
cd rust
&&
cargo clippy --all-targets --features test-support -- --no-deps -D warnings -D clippy::unwrap_used -D clippy::disallowed_macros -D clippy::await_holding_invalid_type
# Test Rust code
test-rust
:
@
echo
"
=== Testing Rust code ==="
@
cd rust
&&
cargo test --features test-support
# Generate Rust types from JSON schemas
generate-rust
:
@
echo
"
=== Generating Rust types ==="
@
cd scripts
/
codegen
&&
npm run generate:rust
# Test correction collection scripts
test-corrections
:
@
echo
"
=== Testing correction scripts ==="
@
cd scripts
/
corrections
&&
npm test
# Install all dependencies across all languages
install
:
install-go
install-python
install-nodejs
install-dotnet
install-corrections
@
echo
"
✅ All dependencies installed"
# Install Go dependencies and prerequisites for tests
install-go
:
install-nodejs
install-test-harness
@
echo
"
=== Installing Go dependencies ==="
@
cd go
&&
go mod download
# Install Python dependencies and prerequisites for tests
install-python
:
install-nodejs
install-test-harness
@
echo
"
=== Installing Python dependencies ==="
@
cd python
&&
uv pip install -e
"
.[dev]"
# Install .NET dependencies and prerequisites for tests
install-dotnet
:
install-nodejs
install-test-harness
@
echo
"
=== Installing .NET dependencies ==="
@
cd dotnet
&&
dotnet restore
# Install Node.js dependencies
install-nodejs
:
@
echo
"
=== Installing Node.js dependencies ==="
@
cd nodejs
&&
npm ci
# Install test harness dependencies (used by E2E tests in all languages)
install-test-harness
:
@
echo
"
=== Installing test harness dependencies ==="
@
cd test
/
harness
&&
npm ci --ignore-scripts
# Install correction collection script dependencies
install-corrections
:
@
echo
"
=== Installing correction script dependencies ==="
@
cd scripts
/
corrections
&&
npm ci
# Run interactive SDK playground
playground
:
@
echo
"
=== Starting SDK Playground ==="
@
cd demos
/
playground
&&
npm install
&&
npm start
# Validate documentation code examples
validate-docs
:
validate-docs-extract
validate-docs-check
# Extract code blocks from documentation
validate-docs-extract
:
@
echo
"
=== Extracting documentation code blocks ==="
@
cd scripts
/
docs-validation
&&
npm ci --silent
&&
npm run extract
# Validate all extracted code blocks
validate-docs-check
:
@
echo
"
=== Validating documentation code blocks ==="
@
cd scripts
/
docs-validation
&&
npm run validate
# Validate only TypeScript documentation examples
validate-docs-ts
:
@
echo
"
=== Validating TypeScript documentation ==="
@
cd scripts
/
docs-validation
&&
npm run validate:ts
# Validate only Python documentation examples
validate-docs-py
:
@
echo
"
=== Validating Python documentation ==="
@
cd scripts
/
docs-validation
&&
npm run validate:py
# Validate only Go documentation examples
validate-docs-go
:
@
echo
"
=== Validating Go documentation ==="
@
cd scripts
/
docs-validation
&&
npm run validate:go
# Validate only C# documentation examples
validate-docs-cs
:
@
echo
"
=== Validating C# documentation ==="
@
cd scripts
/
docs-validation
&&
npm run validate:cs
You can’t perform that action at this time.