Skip to content

Commit

Permalink
Generate compilation database in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
plodah committed Aug 11, 2024
1 parent 6b548af commit eb26b2d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion buildmykeyboards.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ rm $plodir/*.bak
if [ "$1" == "clean" ]
then
echo "$(date +%H:%M:%S) CLEAN"
rm $qmkdir/*.uf2 $qmkdir/*.bin $qmkdir/*.hex $usrdir/*.uf2 $usrdir/*.bin $usrdir/*.hex
rm $qmkdir/*.uf2 $qmkdir/*.bin $qmkdir/*.hex $usrdir/*.uf2 $usrdir/*.bin $usrdir/*.hex $usrdir/compile_commands.json
qmk generate-compilation-database -km plodahc -kb keychron/v2/iso_encoder
qmk generate-compilation-database -km plodah -kb keychron/v2/iso_encoder
qmk generate-compilation-database -km plodah -kb ploopyco/trackball_thumb
qmk userspace-doctor
qmk userspace-list
echo "$(date +%H:%M:%S) COMPILE"
Expand Down

0 comments on commit eb26b2d

Please sign in to comment.