mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-28 06:29:38 +00:00
9 lines
300 B
Rust
9 lines
300 B
Rust
use std::{env, fs};
|
|
|
|
fn main() {
|
|
let artifacts_path = env::var("OUT_DIR").unwrap().to_string() + "/ethereum-schnorr-contract";
|
|
if !fs::exists(&artifacts_path).unwrap() {
|
|
fs::create_dir(&artifacts_path).unwrap();
|
|
}
|
|
build_solidity_contracts::build("contracts", &artifacts_path).unwrap();
|
|
}
|