mirror of
https://github.com/nushell/nushell.git
synced 2025-08-15 03:42:33 +02:00
Update wix plugin check with base test. (#2666)
This commit is contained in:
committed by
GitHub
parent
194782215f
commit
e02b4f1443
@ -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)"
|
||||
|
Reference in New Issue
Block a user