Skip to content

Commit

Permalink
made kernel publishable
Browse files Browse the repository at this point in the history
  • Loading branch information
cptpiepmatz committed Sep 20, 2024
1 parent aff98f7 commit ba73307
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ nu-cmd-extra.workspace = true
nu-cmd-lang.workspace = true
nu-cmd-plugin.workspace = true
nu-command.workspace = true
nu-engine.workspace = true
nu-engine.version = "0.98.0" # cannot publish if this inherits from workspace
nu-parser.workspace = true
nu-protocol.workspace = true

Expand Down
1 change: 0 additions & 1 deletion src/jupyter/kernel_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ impl KernelInfo {
language_info: LanguageInfo {
name: "nushell".to_owned(),
version: CARGO_TOML
.workspace
.dependencies
.nu_engine
.version
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static_toml::static_toml! {
#[command(version, long_version = formatcp!(
"{}\nnu-engine {}",
CARGO_TOML.package.version,
CARGO_TOML.workspace.dependencies.nu_engine.version
CARGO_TOML.dependencies.nu_engine.version
))]
struct Cli {
#[command(subcommand)]
Expand Down
1 change: 0 additions & 1 deletion src/nu/konst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ impl Konst {
version: KonstDataVersion {
kernel: CARGO_TOML.package.version.to_owned(),
nu: CARGO_TOML
.workspace
.dependencies
.nu_engine
.version
Expand Down

0 comments on commit ba73307

Please sign in to comment.