mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
22 lines
467 B
Bash
Executable File
22 lines
467 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
install-go-devtools() {
|
|
go install github.com/go-delve/delve/cmd/dlv@latest
|
|
go install honnef.co/go/tools/cmd/staticcheck@latest
|
|
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
|
}
|
|
|
|
setup-ci() {
|
|
local dokku_root="/root/go/src/github.com/dokku/dokku"
|
|
pushd "$plugin_root" >/dev/null || true
|
|
make ci-dependencies setup-deploy-tests
|
|
popd >/dev/null || true
|
|
}
|
|
|
|
main() {
|
|
install-go-devtools
|
|
setup-ci
|
|
}
|
|
|
|
main "$@"
|