
I’ve also updated the documentation in `development\local-collaboration.md` and `docs\src\development\windows.md`. Testing collab on my Windows machine:  Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
12 lines
318 B
Rust
12 lines
318 B
Rust
use collab::env::get_dotenv_vars;
|
|
|
|
fn main() -> anyhow::Result<()> {
|
|
for (key, value) in get_dotenv_vars(".")? {
|
|
if option_env!("POWERSHELL").is_some() {
|
|
println!("$env:{}=\"{}\"", key, value);
|
|
} else {
|
|
println!("export {}=\"{}\"", key, value);
|
|
}
|
|
}
|
|
Ok(())
|
|
}
|