소스 검색

Support AURDEST

the AURDEST environment variable can now be used to configure the build
dir.
morganamilo 5 년 전
부모
커밋
35b2297f1e
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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
 }