Added a protoype for new menu option, adding mock modules

This commit is contained in:
jakeg00dwin 2024-06-26 17:32:35 -07:00
parent fd261b27c6
commit 90ed839db5
1 changed files with 10 additions and 0 deletions

10
otto.sh
View File

@ -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