mirror of
https://github.com/nushell/nushell.git
synced 2024-11-28 11:24:09 +01:00
905e3d0715
# Description Removes the old `nu-cmd-dataframe` crate in favor of the polars plugin. As such, this PR also removes the `dataframe` feature, related CI, and full releases of nushell.
41 lines
937 B
Plaintext
41 lines
937 B
Plaintext
use std log warning
|
|
|
|
print '-------------------------------------------------------------------'
|
|
print 'Building nushell (nu) and all the plugins'
|
|
print '-------------------------------------------------------------------'
|
|
|
|
warning "./scripts/build-all.nu will be deprecated, please use the `toolkit build` command instead"
|
|
|
|
let repo_root = ($env.CURRENT_FILE | path dirname --num-levels 2)
|
|
|
|
def build-nushell [] {
|
|
print $'(char nl)Building nushell'
|
|
print '----------------------------'
|
|
|
|
cd $repo_root
|
|
cargo build --locked
|
|
}
|
|
|
|
def build-plugin [] {
|
|
let plugin = $in
|
|
|
|
print $'(char nl)Building ($plugin)'
|
|
print '----------------------------'
|
|
|
|
cd $'($repo_root)/crates/($plugin)'
|
|
cargo build
|
|
}
|
|
|
|
let plugins = [
|
|
nu_plugin_inc,
|
|
nu_plugin_gstat,
|
|
nu_plugin_query,
|
|
nu_plugin_example,
|
|
nu_plugin_custom_values,
|
|
nu_plugin_formats,
|
|
]
|
|
|
|
for plugin in $plugins {
|
|
$plugin | build-plugin
|
|
}
|