mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-27 20:49:33 +08:00
make/pr: enforce vendor for run (#10296)
This commit is contained in:
parent
c0bc9871be
commit
df758f3cc9
@ -250,7 +250,7 @@ func main() {
|
|||||||
//Force build of js, css, bin, ...
|
//Force build of js, css, bin, ...
|
||||||
runCmd("make", "build")
|
runCmd("make", "build")
|
||||||
//Start with integration test
|
//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) {
|
func runCmd(cmd ...string) {
|
||||||
log.Printf("Executing : %s ...\n", cmd)
|
log.Printf("Executing : %s ...\n", cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user