env-share: fixed a couple minor issues and added release profile
This commit is contained in:
parent
7c7d720f8e
commit
cceb2048b9
2 changed files with 8 additions and 4 deletions
|
@ -3,6 +3,10 @@ name = "env-share"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[profile.release]
|
||||||
pico-args = "0.5.0"
|
opt-level = 's'
|
||||||
|
codegen-units = 1
|
||||||
|
debug = false
|
||||||
|
lto = true
|
||||||
|
panic = "abort"
|
||||||
|
strip = "symbols"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
# make sure the file exists
|
# make sure the file exists
|
||||||
$file = $env:ENV_SHARE_FILE
|
$file = $env:ENV_SHARE_FILE
|
||||||
if -not (Test-Path $file) {
|
if(-not (Test-Path $file)) {
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue