summaryrefslogtreecommitdiff
path: root/themes/compile_commands.sh
diff options
context:
space:
mode:
authorMatthew Kosarek <matthew@matthewkosarek.xyz>2023-09-27 07:42:11 -0400
committerMatthew Kosarek <matthew@matthewkosarek.xyz>2023-09-27 07:42:11 -0400
commitec0b1d450a0f6219b3b0d352cd6625ae05f62618 (patch)
treeef515bd14d5dbc229013e054e3ca3b7a8f8e2ad5 /themes/compile_commands.sh
parent2dca902c183ece31bc0853e1e8b93d09359515e4 (diff)
Hills in the AutumnTheme
Diffstat (limited to 'themes/compile_commands.sh')
-rwxr-xr-xthemes/compile_commands.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/compile_commands.sh b/themes/compile_commands.sh
index 2cb3fed..06ebba0 100755
--- a/themes/compile_commands.sh
+++ b/themes/compile_commands.sh
@@ -1,5 +1,5 @@
make --always-make --dry-run \
- | grep -wE 'gcc|g\+\+|c\+\+' \
+ | grep -wE 'emcc|gcc|g\+\+|c\+\+' \
| grep -w '\-c' \
| jq -nR '[inputs|{directory:".", command:., file: match(" [^ ]+$").string[1:]}]' \
> compile_commands.json