We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd like to add more coverage for standard Golang applications by checking for the existence of a cmd directory if main.go is missing
cmd
main.go
*.go
go build ./cmd
cmd/*.go
go build ./cmd/[directory]
https://github.com/railwayapp/nixpacks/blob/main/src/providers/go.rs#L75-L79
My Go apps fail on the first build so I have to add a custom build command for each one
I can submit a PR : )
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Feature request
I'd like to add more coverage for standard Golang applications by checking for the existence of a
cmd
directory ifmain.go
is missingmain.go
main.go
doesn't exist, checkcmd
for*.go
file. If located,go build ./cmd
cmd/*.go
doesn't exist, build the first directory incmd
withgo build ./cmd/[directory]
https://github.com/railwayapp/nixpacks/blob/main/src/providers/go.rs#L75-L79
Motivation
My Go apps fail on the first build so I have to add a custom build command for each one
Contribution
I can submit a PR : )
The text was updated successfully, but these errors were encountered: