bai 1.0.3

Create common files from a large collection of templates
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::process::Command;
use std::sync::Once;

static BUILD: Once = Once::new();

pub fn before() {
	BUILD.call_once(|| {
		Command::new("cargo")
			.args(["build", "--release"])
			.status()
			.expect("failed to build test binary");
	});
}