Fix tool build

This commit is contained in:
Björn Gaier 2023-12-18 15:05:18 -05:00
parent 3daa65c3b3
commit cac7487dbf
2 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,7 @@ pub use readmap_helper::get_tool_output;
pub type EventReceiver = std::sync::mpsc::Receiver<Event<crossterm::event::KeyEvent>>;
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> {
Input(I),

View File

@ -32,6 +32,11 @@ elif [ $2 = clean ]; then
echo "cargo clean $1"
$HOME/.cargo/bin/cargo clean
exit $?
elif [ $2 = update ]; then
echo "cargo update $1"
$HOME/.cargo/bin/cargo update
exit $?
else
echo "Unkown cargo command $2 for project $1"