Skip to content

preview: reorganize to work with go build #216

@lcowell

Description

@lcowell

We were talking about different build options for the cli, so I put together what the project would look like if we moved to go build (gb). I thought it would be useful to review and see if it's worth it to make the change.

You can see what I put together here:
https://github.com/lcowell/cli/tree/gb

Pros

  • control of dependencies
  • reproducible builds
  • built in cross platform builds

Cons

  • glitch doesn't work (yet)
  • tying ourselves to a build tool early in the race
  • more directory structure

We'd still need to update the install and build instructions as well as the release build process. I'm sure there's many other things to do.

You can build using:
gb build

Or build for other target using:
env GOOS=linux GOARCH=arm gb build

You can test using:
gb test

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