Skip to content

Commit

Permalink
Fix release build
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelvigee committed May 12, 2024
1 parent 025866b commit 20dd371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ for os in ["linux", "darwin"]:
name = "build_{}_{}".format(os, arch),
run = [
"go version",
"go build -o $OUT -trimpath -ldflags='-s -w' github.com/hephbuild/heph/cmd/heph",
"go build -o $OUT -trimpath -ldflags='-s -w' {} github.com/hephbuild/heph/cmd/heph".format(build_flags),
],
out = "heph_{}_{}".format(os, arch),
deps = deps,
Expand All @@ -117,7 +117,7 @@ for os in ["linux", "darwin"]:
name = "build_debug_{}_{}".format(os, arch),
run = [
"go version",
"go build -o $OUT -trimpath -gcflags='all=-N -l' github.com/hephbuild/heph/cmd/heph",
"go build -o $OUT -gcflags='all=-N -l' {} github.com/hephbuild/heph/cmd/heph".format(build_flags),
],
out = "heph_debug_{}_{}".format(os, arch),
deps = deps,
Expand Down

0 comments on commit 20dd371

Please sign in to comment.