don't run rust build on buildkite on each test. We run it before anyway. Save time and moneez
@@ -4,12 +4,11 @@ import java.io.ByteArrayInputStream
object PrismaRsBuild {
def apply(): Unit = {
+ if (!EnvVars.isBuildkite) {
val workingDirectory = new java.io.File(EnvVars.serverRoot + "/prisma-rs")
val command = Seq("cargo", "build", "--release")
val env = ("RUST_LOG", "error")
-// val begin = System.currentTimeMillis()
sys.process.Process(command, workingDirectory, env).!!
-// val end = System.currentTimeMillis()
-// println(s"took ${end - begin}ms")
+ }
}
}
