jfrog / build-info-go

build-info-go is a Go library and a CLI, which allows generating build-info for a source code project.
https://www.buildinfo.org
Apache License 2.0
61 stars 34 forks source link

Move each build tool logic to its own package #62

Open Or-Geva opened 2 years ago

Or-Geva commented 2 years ago

In the current folder structure, github.com/jfrog/build-info-go/build package contains all the logic to calculate build-info to all build tools (Maven, npm, Go ....). One of go test ... arg is a package name and not an individual test file. As a result, we cant run specific build tool tests but all packages. To overcome this problem, We need to split it into different build tools packages