Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Verified Commit 8a54ad28 authored by Ayush Singh's avatar Ayush Singh
Browse files

cli: Rename folder to bb-imager-cli


- The package name has been `bb-imager-cli` for a while, so best to
  rename the folder as well to avoid confusion.

Signed-off-by: Ayush Singh's avatarAyush Singh <ayush@beagleboard.org>
parent 8731a5b8
1 merge request!41Fix the difference in package and folder names
Pipeline #23559 passed with stages
in 5 minutes and 53 seconds
......@@ -3,8 +3,9 @@ resolver = "2"
members = [
"bb-imager",
"cli",
"gui", "xtask",
"bb-imager-cli",
"gui",
"xtask",
]
[profile.release]
......
......@@ -19,7 +19,7 @@ APPIMAGE_ARCH_armv7-unknown-linux-gnueabihf = armhf
# Includes
include gui/Makefile
include cli/Makefile
include bb-imager-cli/Makefile
include scripts/*.mk
clean:
......
File moved
File moved
File moved
File moved
......@@ -2,7 +2,7 @@ use std::path::PathBuf;
use clap::{CommandFactory, Parser, Subcommand};
#[path = "../../cli/src/cli.rs"]
#[path = "../../bb-imager-cli/src/cli.rs"]
// Allow using CLI stuff without pulling bb-imager-cli and bb-imager as dependencies
mod bb_imager_cli;
......@@ -37,7 +37,7 @@ fn main() {
let cli_manifest_path = PathBuf::from(env!("CARGO_MANIFEST_DIR"))
.parent()
.unwrap()
.join("cli/Cargo.toml");
.join("bb-imager-cli/Cargo.toml");
let manifest = cargo_toml::Manifest::from_path(cli_manifest_path).unwrap();
let cmd = bb_imager_cli::Opt::command().display_name(manifest.package().name());
......@@ -48,7 +48,7 @@ fn main() {
let cli_manifest_path = PathBuf::from(env!("CARGO_MANIFEST_DIR"))
.parent()
.unwrap()
.join("cli/Cargo.toml");
.join("bb-imager-cli/Cargo.toml");
let manifest = cargo_toml::Manifest::from_path(cli_manifest_path).unwrap();
clap_complete::generate_to(shell, &mut cmd, manifest.package().name(), out_dir)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment