Fix tool build
This commit is contained in:
parent
3daa65c3b3
commit
cac7487dbf
|
@ -14,7 +14,7 @@ pub use readmap_helper::get_tool_output;
|
||||||
|
|
||||||
pub type EventReceiver = std::sync::mpsc::Receiver<Event<crossterm::event::KeyEvent>>;
|
pub type EventReceiver = std::sync::mpsc::Receiver<Event<crossterm::event::KeyEvent>>;
|
||||||
pub type Terminal = ratatui::Terminal<ratatui::backend::CrosstermBackend<std::io::Stdout>>;
|
pub type Terminal = ratatui::Terminal<ratatui::backend::CrosstermBackend<std::io::Stdout>>;
|
||||||
type ConsoleFrame<'a> = ratatui::Frame<'a, ratatui::backend::CrosstermBackend<std::io::Stdout>>;
|
type ConsoleFrame<'a> = ratatui::Frame<'a>;
|
||||||
|
|
||||||
pub enum Event<I> {
|
pub enum Event<I> {
|
||||||
Input(I),
|
Input(I),
|
||||||
|
|
|
@ -32,6 +32,11 @@ elif [ $2 = clean ]; then
|
||||||
echo "cargo clean $1"
|
echo "cargo clean $1"
|
||||||
$HOME/.cargo/bin/cargo clean
|
$HOME/.cargo/bin/cargo clean
|
||||||
|
|
||||||
|
exit $?
|
||||||
|
elif [ $2 = update ]; then
|
||||||
|
echo "cargo update $1"
|
||||||
|
$HOME/.cargo/bin/cargo update
|
||||||
|
|
||||||
exit $?
|
exit $?
|
||||||
else
|
else
|
||||||
echo "Unkown cargo command $2 for project $1"
|
echo "Unkown cargo command $2 for project $1"
|
||||||
|
|
Loading…
Reference in New Issue