Skip to content

Commit

Permalink
[v0.4] VEX related improvements in the build process (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
macedogm authored Jan 8, 2025
1 parent 06685df commit 4689179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magefiles/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func Build() error {

log.Printf("[Build] Building wins version: %s \n", version)
log.Printf("[Build] Output: %s \n", winsOutput)
if err := g.Build(flags, "cmd/main.go", winsOutput); err != nil {
if err := g.Build(flags, "./cmd/", winsOutput); err != nil {
return err
}
log.Printf("[Build] successfully built wins version %s \n", version)
Expand Down Expand Up @@ -176,7 +176,7 @@ func Build() error {
func BuildSUC() error {
log.Printf("[Build] Building wins SUC version: %s \n", version)
winsSucOutput := filepath.Join("bin", "wins-suc.exe")
if err := g.Build(flags, "suc/main.go", winsSucOutput); err != nil {
if err := g.Build(flags, "./suc/", winsSucOutput); err != nil {
return err
}
if err := sh.Copy(filepath.Join(artifactOutput, "wins-suc.exe"), winsSucOutput); err != nil {
Expand Down

0 comments on commit 4689179

Please sign in to comment.