Browse Source

Go build tags are space separated.

pull/32/head
Tim Zabel 5 years ago
parent
commit
0c866e24c4
No known key found for this signature in database
GPG Key ID: BCF88DA26C612113
  1. 4
      mage.go

4
mage.go

@ -157,7 +157,7 @@ func BuildAllCommands() { @@ -157,7 +157,7 @@ func BuildAllCommands() {
// Build kbtui with all Commands and TypeCommands enabled.
func BuildAllCommandsT() {
mg.Deps(getRemotePackages)
if err := sh.Run("go", "build", "-tags", "type_commands,allcommands"); err != nil {
if err := sh.Run("go", "build", "-tags", "type_commands allcommands"); err != nil {
defer func() {
exit(err)
}()
@ -168,7 +168,7 @@ func BuildAllCommandsT() { @@ -168,7 +168,7 @@ func BuildAllCommandsT() {
func BuildBeta() {
mg.Deps(getRemotePackages)
mg.Deps(BuildEmoji)
if err := sh.Run("go", "build", "-tags", "allcommands,showreactionscmd,emojiList,tabcompletion"); err != nil {
if err := sh.Run("go", "build", "-tags", "allcommands showreactionscmd emojiList tabcompletion"); err != nil {
defer func() {
exit(err)
}()

Loading…
Cancel
Save