mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +00:00
10 lines
300 B
Rust
10 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();
|
|
}
|