Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631)

This commit is contained in:
zeripath authored and techknowlogick committed 2019-04-29 14:08:21 -04:00
1 parent ccf4783980
commit 8d0d7bc28d
17 files changed
+184 -193

No files matched your search

+1
View File
@@ -43,6 +43,7 @@ func runPR() {
if err != nil {
log.Fatal(err)
}
setting.SetCustomPathAndConf("", "")
setting.NewContext()
setting.RepoRootPath, err = ioutil.TempDir(os.TempDir(), "repos")