troubleshooting build script

This commit is contained in:
epi
2021-06-15 11:32:00 -05:00
parent 4debe68ed6
commit d23717dc6c

View File

@@ -55,6 +55,10 @@ fn main() {
// - linux: $XDG_CONFIG_HOME or $HOME/.config
// - macOS: $HOME/Library/Application Support
// - windows: {FOLDERID_RoamingAppData}
println!(
"did we find it? {}",
std::env::var("IN_PIPELINE").unwrap_or(String::from("no"))
);
if std::env::var("IN_PIPELINE").is_ok() {
return; // only copy the config file when we're not running in the CI/CD pipeline
}