Rust implementation of NextGraph, a Decentralized and local-first web 3.0 ecosystem https://nextgraph.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextgraph-rs/helpers/app-auth/build.rs

15 lines
401 B

use std::process::Command;
use std::env;
use std::path::Path;
fn main() {
println!("cargo:rerun-if-changed=src");
let out_dir = env::var("OUT_DIR").unwrap();
//println!("{out_dir}");
//pnpm -C ./helpers/app-auth install
//pnpm -C ./helpers/app-auth build
Command::new("pnpm").args(&["install"]).status().unwrap();
Command::new("pnpm").args(&["buildcargo"]).status().unwrap();
}