mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-02-22 15:49:52 -05:00
18 lines
362 B
Rust
18 lines
362 B
Rust
use std::process::Command;
|
|
|
|
fn main() {
|
|
let status = Command::new("docker")
|
|
.arg("build")
|
|
.arg("-f")
|
|
.arg("./tor.Dockerfile")
|
|
.arg(".")
|
|
.arg("-t")
|
|
.arg("testcontainers-tor:latest")
|
|
.status()
|
|
.unwrap();
|
|
|
|
assert!(status.success());
|
|
|
|
println!("cargo:rerun-if-changed=./tor.Dockerfile");
|
|
}
|