mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Bindata is optional and over-writable on restart (#354)
* Moved conf assets into options folder * Dropped old bindata * Started to integrate options bindata and accessors * Do not enforce a builtin app.ini * Replaced bindata calls with options * Dropped bindata task from makefile, it's the generate task now * Always embedd app.ini to provide sane config defaults * Use sane defaults for the configuration * Defined default value for SSH_KEYGEN_PATH * Dropped "NEVER EVER MODIFY THIS FILE" header from app.ini * Fixed new paths in latest test additions * Drop bindata with make clean task * Set more proper default values
This commit is contained in:
		@@ -25,7 +25,7 @@ const (
 | 
			
		||||
func TestMain(m *testing.M) {
 | 
			
		||||
	// setup
 | 
			
		||||
	macaroni18n.I18n(macaroni18n.Options{
 | 
			
		||||
		Directory:   "../../conf/locale/",
 | 
			
		||||
		Directory:   "../../options/locale/",
 | 
			
		||||
		DefaultLang: "en-US",
 | 
			
		||||
		Langs:       []string{"en-US"},
 | 
			
		||||
		Names:       []string{"english"},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user