Allow for build tag gokrazy (bundle as in release)

This commit is contained in:
Fabian Wickborn 2021-01-03 22:24:33 +01:00
parent 8db09e8160
commit 9cc691a73b
3 changed files with 11 additions and 2 deletions

9
cmd/gokrazy.go Normal file
View file

@ -0,0 +1,9 @@
// +build gokrazy
package cmd
import "github.com/spf13/viper"
func init() {
viper.AddConfigPath("/perm") // path to look for the config file in
}

View file

@ -1,4 +1,4 @@
// +build !release
// +build !release,!gokrazy
package server

View file

@ -1,4 +1,4 @@
// +build release
// +build release gokrazy
package server