Sfoglia il codice sorgente

Support AURDEST

the AURDEST environment variable can now be used to configure the build
dir.
morganamilo 5 anni fa
parent
commit
35b2297f1e
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      main.go

+ 5 - 0
main.go

@@ -48,6 +48,11 @@ func initConfig() error {
 		}
 	}
 
+	aurdest := os.Getenv("AURDEST")
+	if aurdest != "" {
+		config.BuildDir = aurdest
+	}
+
 	return nil
 }