Go build tags are space separated.
This commit is contained in:
4
mage.go
4
mage.go
@ -157,7 +157,7 @@ func BuildAllCommands() {
|
|||||||
// Build kbtui with all Commands and TypeCommands enabled.
|
// Build kbtui with all Commands and TypeCommands enabled.
|
||||||
func BuildAllCommandsT() {
|
func BuildAllCommandsT() {
|
||||||
mg.Deps(getRemotePackages)
|
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() {
|
defer func() {
|
||||||
exit(err)
|
exit(err)
|
||||||
}()
|
}()
|
||||||
@ -168,7 +168,7 @@ func BuildAllCommandsT() {
|
|||||||
func BuildBeta() {
|
func BuildBeta() {
|
||||||
mg.Deps(getRemotePackages)
|
mg.Deps(getRemotePackages)
|
||||||
mg.Deps(BuildEmoji)
|
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() {
|
defer func() {
|
||||||
exit(err)
|
exit(err)
|
||||||
}()
|
}()
|
||||||
|
|||||||
Reference in New Issue
Block a user