mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01:00
Update wix plugin check with base test. (#2666)
This commit is contained in:
parent
194782215f
commit
e02b4f1443
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 New Issue
Block a user