diff --git a/env-share/Cargo.toml b/env-share/Cargo.toml index 91f0407..770a857 100644 --- a/env-share/Cargo.toml +++ b/env-share/Cargo.toml @@ -3,6 +3,10 @@ name = "env-share" version = "0.0.1" edition = "2021" -[dependencies] -pico-args = "0.5.0" - +[profile.release] +opt-level = 's' +codegen-units = 1 +debug = false +lto = true +panic = "abort" +strip = "symbols" diff --git a/env-share/scripts/env-share.ps1 b/env-share/scripts/env-share.ps1 index 87fdf9c..762de92 100644 --- a/env-share/scripts/env-share.ps1 +++ b/env-share/scripts/env-share.ps1 @@ -1,7 +1,7 @@ # make sure the file exists $file = $env:ENV_SHARE_FILE -if -not (Test-Path $file) { +if(-not (Test-Path $file)) { exit }