Merge pull request #571 from fawick/master

Prepare EVCC for being build for gokrazy
This commit is contained in:
andig 2021-01-04 08:36:20 +01:00 • committed by GitHub
commit ba5672c88c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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