Browse Source

make/pr: enforce vendor for run (#10296)

mj
Antoine GIRARD 3 years ago
committed by GitHub
parent
commit
df758f3cc9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      contrib/pr/checkout.go

2
contrib/pr/checkout.go

@ -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)

Loading…
Cancel
Save