Installation
Installation
Section titled “Installation”Prerequisites
Section titled “Prerequisites”- Go 1.21 or later
- Git
Install All Tools
Section titled “Install All Tools”go install github.com/albertocavalcante/sky/cmd/...@latestInstall Individual Tools
Section titled “Install Individual Tools”# Lintergo install github.com/albertocavalcante/sky/cmd/skylint@latest
# Formattergo install github.com/albertocavalcante/sky/cmd/skyfmt@latest
# Test runnergo install github.com/albertocavalcante/sky/cmd/skytest@latest
# Coverage reportergo install github.com/albertocavalcante/sky/cmd/skycov@latest
# Documentation generatorgo install github.com/albertocavalcante/sky/cmd/skydoc@latest
# Static analyzergo install github.com/albertocavalcante/sky/cmd/skycheck@latest
# Query toolgo install github.com/albertocavalcante/sky/cmd/skyquery@latest
# REPLgo install github.com/albertocavalcante/sky/cmd/skyrepl@latestVerify Installation
Section titled “Verify Installation”skylint --versionskytest --versionskycov --versionBuild from Source
Section titled “Build from Source”git clone https://github.com/albertocavalcante/sky.gitcd skygo build ./cmd/...With Coverage Support
Section titled “With Coverage Support”To enable coverage collection, you need starlark-go-x:
- Clone starlark-go-x next to your sky checkout
- Uncomment the
replacedirective ingo.mod - Rebuild
See Coverage Getting Started for details.