fixed call to tag generation function.

This commit is contained in:
Jake Goodwin 2025-12-21 19:43:27 -08:00
parent 4be1a3b95e
commit f56f69fadc

View file

@ -11,6 +11,10 @@ MODULE_DIR="${TEMPLATE_FILES}/modules"
CHIP="ch32v003" CHIP="ch32v003"
generate_tags_file () { generate_tags_file () {
echo "generate_tags_file()"
# Saving current directory
#CUR_DIR=$(pwd)
uctags --recurse=yes \ uctags --recurse=yes \
--languages=C,C++,Asm \ --languages=C,C++,Asm \
--extras=+q \ --extras=+q \
@ -19,7 +23,7 @@ generate_tags_file () {
--exclude=build \ --exclude=build \
--exclude=.git \ --exclude=.git \
--exclude=.template_files \ --exclude=.template_files \
. ./
} }
format_source_code () { format_source_code () {
@ -287,7 +291,7 @@ flash_microcontroller () {
} }
run_c_tests () { run_c_tests () {
generate_tags_file() generate_tags_file
format_source_code format_source_code
clear_cmake_cache clear_cmake_cache
cmake -DUNIT_TESTING=ON -DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE} ../ cmake -DUNIT_TESTING=ON -DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE} ../