mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Update wix plugin check with base test. (#2666)
This commit is contained in:
parent
194782215f
commit
e02b4f1443
2 changed files with 6 additions and 2 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -3140,7 +3140,6 @@ dependencies = [
|
|||
"nu-errors",
|
||||
"nu-protocol",
|
||||
"nu-source",
|
||||
"nu-test-support",
|
||||
"num-traits 0.2.12",
|
||||
]
|
||||
|
||||
|
|
|
@ -7,7 +7,12 @@ fn plugins_are_declared_with_wix() {
|
|||
let actual = nu!(
|
||||
cwd: ".", pipeline(
|
||||
r#"
|
||||
open Cargo.toml | get bin.name | drop | sort-by | wrap cargo | merge {
|
||||
open Cargo.toml
|
||||
| get bin.name
|
||||
| str find-replace "nu_plugin_(extra|core)_(.*)" "nu_plugin_$2"
|
||||
| drop
|
||||
| sort-by
|
||||
| wrap cargo | merge {
|
||||
open wix/main.wxs --raw | from xml
|
||||
| get Wix.children.Product.children.0.Directory.children.0
|
||||
| where Directory.attributes.Id == "$(var.PlatformProgramFilesFolder)"
|
||||
|
|
Loading…
Reference in a new issue