Skip to content
Snippets Groups Projects
Commit 01f36d02 authored by Angel Santamaria-Navarro's avatar Angel Santamaria-Navarro
Browse files

indent wolf_create.sh

parent 28cfbc84
No related branches found
No related tags found
1 merge request!225Update scripts
Pipeline #2312 passed
......@@ -33,10 +33,10 @@ echo "- Generating CPP and H files."
BASE_H_PATH=$(getFilePath $BASE.h)
if [ -z "$BASE_H_PATH" ]
then
echo ""
echo "${RED} [ERROR]: Cannot find header file for base class ${BASE}.${NC}"
echo ""
exit
echo ""
echo "${RED} [ERROR]: Cannot find header file for base class ${BASE}.${NC}"
echo ""
exit
fi
# Create Header and CPP files
......@@ -56,10 +56,10 @@ echo "- Modifying CMakeLists.txt to include CPP and H files."
DONE=$(updateCMakeLists)
if [ -z "$DONE" ]
then
echo "${YELLOW} \--x [WARN]: Not necessary. File entries already existing in CMakeLists.txt.${NC}"
echo "${YELLOW} \--x [WARN]: Not necessary. File entries already existing in CMakeLists.txt.${NC}"
else
echo "${GREEN} \--> Updated ${DONE} file.${NC}"
echo "${YELLOW} \--> [WARN] Consider adding conditional clues [IF/ELSE] in the CMakeLists.txt if you use external dependencies, hence avoiding compilation if you don't have them installed${NC}"
echo "${GREEN} \--> Updated ${DONE} file.${NC}"
echo "${YELLOW} \--> [WARN] Consider adding conditional clues [IF/ELSE] in the CMakeLists.txt if you use external dependencies, hence avoiding compilation if you don't have them installed${NC}"
fi
# ===== Create gtest =====
......@@ -80,10 +80,10 @@ echo "- Modifying CMakeLists.txt to include gtest files."
DONE=$(updateCMakeListsGTest)
if [ -z "$DONE" ]
then
echo "${YELLOW} \--x [WARN]: Not necessary. gtest file entry already existing in CMakeLists.txt.${NC}"
echo "${YELLOW} \--x [WARN]: Not necessary. gtest file entry already existing in CMakeLists.txt.${NC}"
else
echo "${GREEN} \--> Updated ${DONE} file.${NC}"
echo "${YELLOW} \--> [WARN] Consider adding conditional clues [IF/ELSE] in the CMakeLists.txt if you use external dependencies, hence avoiding compilation if you don't have them installed${NC}"
echo "${GREEN} \--> Updated ${DONE} file.${NC}"
echo "${YELLOW} \--> [WARN] Consider adding conditional clues [IF/ELSE] in the CMakeLists.txt if you use external dependencies, hence avoiding compilation if you don't have them installed${NC}"
fi
#============================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment