From 35b2297f1ec67f2371ff93b48ed92ea1e9f248fe Mon Sep 17 00:00:00 2001 From: morganamilo Date: Thu, 17 Oct 2019 23:54:20 +0100 Subject: [PATCH] Support AURDEST the AURDEST environment variable can now be used to configure the build dir. --- main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.go b/main.go index 4475adb9..30a19b67 100644 --- a/main.go +++ b/main.go @@ -48,6 +48,11 @@ func initConfig() error { } } + aurdest := os.Getenv("AURDEST") + if aurdest != "" { + config.BuildDir = aurdest + } + return nil }