Created
July 13, 2019 22:12
-
-
Save tykurtz/a17cf98a4f299f875d0dfdac6feb9690 to your computer and use it in GitHub Desktop.
Merge ccls compile commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat ./**/**/compile_commands.json > compile_commands.json && sed -i -e ':a;N;$!ba;s/\n\]\[\n/,\n/g' compile_commands.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment