summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-26 21:54:29 +0300
committerPaul Buetow <paul@buetow.org>2025-06-26 21:54:29 +0300
commit45613574ddfc6203ca31388ee7f6c60423f1cbd2 (patch)
tree603888f06861a927118fae0b4741df3faaa3155f /Makefile
parent62d9774b4c2f776de60e8231fa6b8378d8afef4d (diff)
fix: update Makefile clean target and fix dmap profiling behavior
- Updated 'make clean' to also remove all .tmp and .prof files in the repo - Fixed dmap profiling scripts to let dmap complete naturally instead of killing it after a timeout (dmap terminates when input is fully processed) - Removed the special run_profile_dmap function as it's no longer needed - Updated all profiling scripts to reflect that dmap has a natural exit point Thanks for the correction - dmap does indeed terminate after processing all data from the source file, so the timeout/kill approach was unnecessary. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bfe8d39..4a0df5e 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,10 @@ clean:
ls ./cmd/ | while read cmd; do \
test -f $$cmd && rm $$cmd; \
done
+ @echo "Removing .tmp files..."
+ find . -name "*.tmp" -type f -delete
+ @echo "Removing .prof files..."
+ find . -name "*.prof" -type f -delete
vet:
find . -type d | egrep -v '(./examples|./log|./doc)' | while read dir; do \
echo ${GO} vet $$dir; \