Skip to content
Snippets Groups Projects
Verified Commit ec1cadae authored by rahix's avatar rahix
Browse files

feat: Add script to generate tags file


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 58224043
No related branches found
No related tags found
No related merge requests found
......@@ -5,3 +5,4 @@ __pycache__/
.*.swp
*~
compile_commands.json
/tags
#!/usr/bin/env bash
set -e
source_dir="$(dirname "$0")/.."
find "$source_dir" -name '*.[ch]' \
| grep -v "$source_dir/lib/sdk/Libraries/FreeRTOS" \
| grep -v "$source_dir/lib/FreeRTOS-Plus" \
| grep -v "$source_dir/lib/micropython/micropython/ports" \
| grep -v "$source_dir/lib/micropython/micropython/lib/cmsis" \
| grep -v "$source_dir/hw-tests/upy-minimal" \
| xargs -d\\n ctags
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