env-share: fixed a couple minor issues and added release profile

This commit is contained in:
Valerie Wolfe 2024-07-08 10:26:22 -04:00
parent 7c7d720f8e
commit cceb2048b9
2 changed files with 8 additions and 4 deletions

View file

@ -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"

View file

@ -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
}