mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	make/pr: enforce vendor for run (#10296)
This commit is contained in:
		@@ -250,7 +250,7 @@ func main() {
 | 
			
		||||
	//Force build of js, css, bin, ...
 | 
			
		||||
	runCmd("make", "build")
 | 
			
		||||
	//Start with integration test
 | 
			
		||||
	runCmd("go", "run", "-tags", "sqlite sqlite_unlock_notify", codeFilePath, "-run")
 | 
			
		||||
	runCmd("go", "run", "-mod", "vendor", "-tags", "sqlite sqlite_unlock_notify", codeFilePath, "-run")
 | 
			
		||||
}
 | 
			
		||||
func runCmd(cmd ...string) {
 | 
			
		||||
	log.Printf("Executing : %s ...\n", cmd)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user