mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 00:13:21 +01:00
add bson and sqlite to wix (#2668)
* add bson and sqlite to wix * add sqlite and bson from and to
This commit is contained in:
parent
808fe496a6
commit
a2cc2259e7
20
Cargo.toml
20
Cargo.toml
@ -190,6 +190,26 @@ name = "nu_plugin_extra_xpath"
|
||||
path = "src/plugins/nu_plugin_extra_xpath.rs"
|
||||
required-features = ["xpath"]
|
||||
|
||||
[[bin]]
|
||||
name = "nu_plugin_extra_from_bson"
|
||||
path = "src/plugins/nu_plugin_extra_from_bson.rs"
|
||||
required-features = ["bson"]
|
||||
|
||||
[[bin]]
|
||||
name = "nu_plugin_extra_to_bson"
|
||||
path = "src/plugins/nu_plugin_extra_to_bson.rs"
|
||||
required-features = ["bson"]
|
||||
|
||||
[[bin]]
|
||||
name = "nu_plugin_extra_from_sqlite"
|
||||
path = "src/plugins/nu_plugin_extra_from_sqlite.rs"
|
||||
required-features = ["sqlite"]
|
||||
|
||||
[[bin]]
|
||||
name = "nu_plugin_extra_to_sqlite"
|
||||
path = "src/plugins/nu_plugin_extra_to_sqlite.rs"
|
||||
required-features = ["sqlite"]
|
||||
|
||||
# Main nu binary
|
||||
[[bin]]
|
||||
name = "nu"
|
||||
|
6
src/plugins/nu_plugin_extra_from_bson.rs
Normal file
6
src/plugins/nu_plugin_extra_from_bson.rs
Normal file
@ -0,0 +1,6 @@
|
||||
use nu_plugin::serve_plugin;
|
||||
use nu_plugin_from_bson::FromBSON;
|
||||
|
||||
fn main() {
|
||||
serve_plugin(&mut FromBSON::new());
|
||||
}
|
6
src/plugins/nu_plugin_extra_from_sqlite.rs
Normal file
6
src/plugins/nu_plugin_extra_from_sqlite.rs
Normal file
@ -0,0 +1,6 @@
|
||||
use nu_plugin::serve_plugin;
|
||||
use nu_plugin_from_sqlite::FromSqlite;
|
||||
|
||||
fn main() {
|
||||
serve_plugin(&mut FromSqlite::new())
|
||||
}
|
6
src/plugins/nu_plugin_extra_to_bson.rs
Normal file
6
src/plugins/nu_plugin_extra_to_bson.rs
Normal file
@ -0,0 +1,6 @@
|
||||
use nu_plugin::serve_plugin;
|
||||
use nu_plugin_to_bson::ToBSON;
|
||||
|
||||
fn main() {
|
||||
serve_plugin(&mut ToBSON::new())
|
||||
}
|
6
src/plugins/nu_plugin_extra_to_sqlite.rs
Normal file
6
src/plugins/nu_plugin_extra_to_sqlite.rs
Normal file
@ -0,0 +1,6 @@
|
||||
use nu_plugin::serve_plugin;
|
||||
use nu_plugin_to_sqlite::ToSqlite;
|
||||
|
||||
fn main() {
|
||||
serve_plugin(&mut ToSqlite::new())
|
||||
}
|
37
wix/main.wxs
37
wix/main.wxs
@ -240,6 +240,39 @@
|
||||
Source='target\$(var.Profile)\nu_plugin_xpath.exe'
|
||||
KeyPath='yes'/>
|
||||
</Component>
|
||||
<Component Id='binary19' Guid='*' Win64='$(var.Win64)'>
|
||||
<File
|
||||
Id='exe19'
|
||||
Name='nu_plugin_from_bson.exe'
|
||||
DiskId='1'
|
||||
Source='target\$(var.Profile)\nu_plugin_from_bson.exe'
|
||||
KeyPath='yes'/>
|
||||
</Component>
|
||||
<Component Id='binary20' Guid='*' Win64='$(var.Win64)'>
|
||||
<File
|
||||
Id='exe20'
|
||||
Name='nu_plugin_to_bson.exe'
|
||||
DiskId='1'
|
||||
Source='target\$(var.Profile)\nu_plugin_to_bson.exe'
|
||||
KeyPath='yes'/>
|
||||
</Component>
|
||||
<Component Id='binary21' Guid='*' Win64='$(var.Win64)'>
|
||||
<File
|
||||
Id='exe21'
|
||||
Name='nu_plugin_from_sqlite.exe'
|
||||
DiskId='1'
|
||||
Source='target\$(var.Profile)\nu_plugin_from_sqlite.exe'
|
||||
KeyPath='yes'/>
|
||||
</Component>
|
||||
<Component Id='binary22' Guid='*' Win64='$(var.Win64)'>
|
||||
<File
|
||||
Id='exe22'
|
||||
Name='nu_plugin_to_sqlite.exe'
|
||||
DiskId='1'
|
||||
Source='target\$(var.Profile)\nu_plugin_to_sqlite.exe'
|
||||
KeyPath='yes'/>
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Directory>
|
||||
@ -279,6 +312,10 @@
|
||||
<ComponentRef Id='binary16'/>
|
||||
<ComponentRef Id='binary17'/>
|
||||
<ComponentRef Id='binary18'/>
|
||||
<ComponentRef Id='binary19'/>
|
||||
<ComponentRef Id='binary20'/>
|
||||
<ComponentRef Id='binary21'/>
|
||||
<ComponentRef Id='binary22'/>
|
||||
|
||||
<Feature
|
||||
Id='Environment'
|
||||
|
Loading…
Reference in New Issue
Block a user