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

feat(Makefile): GO variable, several improvements #398

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

vigress8
Copy link
Contributor

@vigress8 vigress8 commented Sep 11, 2024

  • add GO variable to specify the path to the go binary
  • make BINARY_NAME a target, so make install only rebuilds if the binary is not present
  • assign variables using := (simple expansion) to avoid potential gotchas caused by recursive expansion

Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@vigress8 vigress8 changed the title feat(Makefile): GO and SYSTEM_DISTROBOX variables, several improvements feat(Makefile): GO variable, several improvements Sep 11, 2024
Makefile Show resolved Hide resolved
* add GO variable to specify the path to the `go` binary
* make `BINARY_NAME` a target, so `make install` only rebuilds if the binary is not present
* assign variables using `:=` (simple expansion) to avoid potential gotchas caused by recursive expansion
@axtloss
Copy link
Member

axtloss commented Sep 12, 2024

githubs mobile is a bit confusing, did you squash all commits into one already?

@vigress8
Copy link
Contributor Author

I did

@axtloss
Copy link
Member

axtloss commented Sep 12, 2024

ok great, thanks for improving the makefile!

@axtloss axtloss merged commit 57f3315 into Vanilla-OS:main Sep 12, 2024
2 checks passed
@vigress8 vigress8 deleted the makefile-improve branch September 12, 2024 16:18
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.

2 participants