This commit fixes a critical build issue where the application was being compiled as an archive instead of an executable. This was caused by the absence of a `main` package. The following changes have been made to resolve this and improve the development process: - A `main.go` file has been added to the root of the project to serve as the application's entry point. - A `Taskfile.yml` has been introduced to standardize the build, run, and testing processes. - The build process has been corrected to produce a runnable binary. - An end-to-end test (`TestE2E`) has been added to the test suite. This test builds the application and runs it with the `--help` flag to ensure the binary is always executable, preventing similar build regressions in the future.
7 lines
82 B
Go
7 lines
82 B
Go
package main
|
|
|
|
import "github.com/Snider/Borg/cmd"
|
|
|
|
func main() {
|
|
cmd.Execute()
|
|
}
|