Closed cfi2017 closed 3 years ago
Also, is there a reason
go test ...
ormake test
is no longer running on PRs?
I left that out for now until we have a more stabilised test structure. I'd like to re-add that as a step after the linting process but I haven't gotten to it yet
You might want to direct this PR to https://github.com/WolvenKit/gpm-go now that the repos are separated
I've gone through the points I made on discord a couple days ago and implemented the most glaring changes:
=> I've reduced the entire structure down to a single go.mod file in the root directory to simplify dependency management.
=> I've removed one redundant (empty) main.go file and refactored the others to match their respective package name.
=> I have not yet looked at this, due to complexity of the refactor and the models being a little more complex than I initially thought.
=> Tests are still the same, I have also not looked at test content yet
=> Done,
go build ./cmd/gpm
should now result in the wanted binary.=> Goreleaser is now added, I have not however done a tagged commit to test this part of the CI.