Skip to content

Proposal: development scripts #2927

@WillAbides

Description

@WillAbides

I would like to add a "script" directory to make it a bit more convenient to run common development tasks. This follows the pattern of GitHub's scripts-to-rule-them-all.

The scripts would be:

  • script/test runs go test ./... on all modules.
  • script/generate
    • runs go generate ./... on all modules.
    • with --check validates that running script/generate produces no diff.
  • script/lint
    • installs and runs golangci-lint on all modules (except newreposecretwithlibsodium)
    • runs generate --check.
  • script/fmt runs go fmt ./... on all modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions