From 90ed839db5d5648cf04d774a7edee773f98d1534 Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Wed, 26 Jun 2024 17:32:35 -0700 Subject: [PATCH] Added a protoype for new menu option, adding mock modules --- otto.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/otto.sh b/otto.sh index 549aba7..72e33f9 100755 --- a/otto.sh +++ b/otto.sh @@ -98,6 +98,10 @@ git_remove_module () { git rm -r ./tests/CMakeLists.txt } +add_mock_module () { + echo "Not yet implimented!" +} + add_new_module () { read -p "Enter the name of the module:" modname @@ -205,6 +209,7 @@ run_c_tests () { print_menu () { echo "BUILD MENU:" + echo "0. Add Mock Module" echo "1. Run Tests" echo "2. Build Project(hex)" echo "3. Build for release(hex)" @@ -224,6 +229,11 @@ main() { read -p "Enter your choice: " choice case $choice in + 0) + echo "You selected Option 0" + valid_choice=true + add_mock_module + ;; 1) echo "You selected Option 1" valid_choice=true