mirror of
https://github.com/epi052/feroxbuster.git
synced 2026-06-03 06:41:12 -03:00
troubleshooting build script
This commit is contained in:
4
build.rs
4
build.rs
@@ -55,6 +55,10 @@ fn main() {
|
|||||||
// - linux: $XDG_CONFIG_HOME or $HOME/.config
|
// - linux: $XDG_CONFIG_HOME or $HOME/.config
|
||||||
// - macOS: $HOME/Library/Application Support
|
// - macOS: $HOME/Library/Application Support
|
||||||
// - windows: {FOLDERID_RoamingAppData}
|
// - 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() {
|
if std::env::var("IN_PIPELINE").is_ok() {
|
||||||
return; // only copy the config file when we're not running in the CI/CD pipeline
|
return; // only copy the config file when we're not running in the CI/CD pipeline
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user