Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François Revol
firmware
Commits
ec1cadae
Verified
Commit
ec1cadae
authored
Aug 16, 2019
by
Rahix
Browse files
feat: Add script to generate tags file
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
58224043
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
ec1cadae
...
...
@@ -5,3 +5,4 @@ __pycache__/
.*.swp
*~
compile_commands.json
/tags
tools/generate-tags.sh
0 → 100755
View file @
ec1cadae
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment