silentbicycle / theft

property-based testing for C: generate input to find obscure bugs, then reduce to minimal failing input
ISC License
611 stars 31 forks source link

Add Makefile targets for cscope and vi-style ctags #40

Closed alyptik closed 6 years ago

alyptik commented 6 years ago

Add targets to generate cscope database files and ctags vi-style tags and add tag files to .gitignore.

Signed-off-by: Joey Pabalinas joeypabalinas@gmail.com

silentbicycle commented 6 years ago

This looks great, thanks. I'm also going to backport it from develop (which is for the 0.5.0 milestone) for an upcoming 0.4.4 release. It may be a few days before it's merged.

The new cscope and tags targets should probably be added to the PHONY line, and clean should remove cscope.out. If you don't get to those, I will before the merge.

Build targets of both ${BUILD}/tags and ${BUILD}/TAGS will behave a bit strangely on a case-insensitive filesystem (such as on macOS), but people aren't especially likely to build both at once, and since they aren't default targets, they shouldn't break the build.

alyptik commented 6 years ago

Aha, I kept thinking I had forgotten something, thanks. Making those changes now.

silentbicycle commented 6 years ago

Thanks!