mirror of
https://github.com/Cian-H/dotfiles.git
synced 2026-01-02 07:21:58 +00:00
This change allows the dotfiles to work with chezmoi (e.g: on windows) and improves grepability with neovim/telescope
68 lines
1.4 KiB
Nu
68 lines
1.4 KiB
Nu
use std log
|
|
|
|
export def main [] {
|
|
let subcrates_wave_1 = [
|
|
nu-glob,
|
|
nu-path,
|
|
nu-pretty-hex,
|
|
nu-system,
|
|
nu-utils,
|
|
nu-term-grid,
|
|
nu-test-support,
|
|
nu-json,
|
|
nu-derive-value,
|
|
nu-protocol,
|
|
nu-engine,
|
|
nu-plugin-protocol,
|
|
nu-color-config,
|
|
nu-plugin-core,
|
|
nu-plugin-engine,
|
|
nu-table,
|
|
nu-cmd-plugin,
|
|
nu-parser,
|
|
nu-plugin,
|
|
nu-std,
|
|
nuon,
|
|
nu-cmd-base,
|
|
]
|
|
|
|
# This crate has a `build.rs` file and thus needs `--no-verify`
|
|
let subcrates_wave_2 = [
|
|
nu-cmd-lang,
|
|
]
|
|
|
|
let subcrates_wave_3 = [
|
|
nu-command,
|
|
nu-explore,
|
|
nu-plugin-test-support,
|
|
nu-cli,
|
|
nu-cmd-extra,
|
|
nu-lsp,
|
|
|
|
nu_plugin_query,
|
|
nu_plugin_inc,
|
|
nu_plugin_gstat,
|
|
nu_plugin_formats,
|
|
nu_plugin_polars,
|
|
]
|
|
|
|
log warning "starting publish"
|
|
|
|
log warning "publishing the first wave of crates"
|
|
for crate in $subcrates_wave_1 {
|
|
cargo publish -p $crate
|
|
}
|
|
|
|
log warning "publishing the second wave of crates"
|
|
for crate in $subcrates_wave_2 {
|
|
cargo publish -p $crate --no-verify
|
|
}
|
|
|
|
log warning "publishing the third wave of crates"
|
|
for crate in $subcrates_wave_3 {
|
|
cargo publish -p $crate
|
|
}
|
|
|
|
cargo publish
|
|
}
|