Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename go module to allow command line installs #327

Merged
merged 3 commits into from
Feb 8, 2022

Commits on Feb 7, 2022

  1. Rename go module to allow command line installs

    The `go install` command doesn't like it when the go.mod file
    declares a different path to the module, to the actual path.
    
    e.g.
    
    ```
    $ go install github.com/vercel/turborepo/cli/cmd/turbo@latest
    go install: github.com/vercel/turborepo/cli/cmd/turbo@latest: github.com/vercel/turborepo/[email protected]: parsing go.mod:
    	module declares its path as: turbo
    	        but was required as: github.com/vercel/turborepo/cli
    ```
    
    This PR renames the go module to match the path name, as go expects. This allows the turborepo CLI to be installed via `go install`
    dglsparsons committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    db7c79f View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Configuration menu
    Copy the full SHA
    9eb02b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a4ae41 View commit details
    Browse the repository at this point in the history