mirror of
https://github.com/Cian-H/dotfiles.git
synced 2026-05-05 13:31:42 +01:00
Changed . token to _dot
This change allows the dotfiles to work with chezmoi (e.g: on windows) and improves grepability with neovim/telescope
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user