Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,34 @@ test-dotnet:
@echo "=== Testing .NET code ==="
@cd dotnet && dotnet test test/GitHub.Copilot.SDK.Test.csproj

# Install all dependencies
install:
@echo "=== Installing dependencies ==="
@cd nodejs && npm ci
@cd python && uv pip install -e ".[dev]"
# Install all dependencies across all languages
install: install-go install-python install-nodejs install-dotnet
@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 venv && 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
@echo "✅ All dependencies installed"

# 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

# Run interactive SDK playground
playground:
Expand Down