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

Non-issue: allow user to custom "go" command in makefile #146

Open
wants to merge 2 commits into
base: course
Choose a base branch
from

Conversation

hidehalo
Copy link
Contributor

TinySQL require "go" version 1.13.

I can't install [email protected] via "Homebrew" on my laptop, cauz it's abandoned at upstream.

Since that, I must download [email protected] manually from "go" website.

The point is, a lots user work on go version > 1.13, they must have multiple go versions executable command.

We should allow user to custom "go" command in "Makefile".

eg:

# which [email protected]
[email protected] version
go version go1.13.15 darwin/amd64

# which [email protected]
go version
go version go1.18.3 darwin/amd64

# env variable `GOCMD` use `[email protected]` replace to `[email protected]`
[email protected] make test-proj1
cd tablecodec && \
	[email protected] test

# no specific `GOCMD` is fine, we would use default command "go"
 make test-proj1
 cd tablecodec && \
	go test

@hidehalo
Copy link
Contributor Author

@winoros @yanguwan PTAL, thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant