mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-18 02:38:37 +00:00
6c28274aa0
- Prefix all plugins with 'io_' (like in the rest of libs) - Statify io_dbg and io_ptrace IO plugins * Added _free methods for r_io and r_debug. Oops * Initial dummy version of r_debug.vapi * More stuff in the debug/t/main.c (not yet working) * Better hg-miss missing file detection checks --HG-- rename : libr/io/p/dbg.c => libr/io/p/io_dbg.c rename : libr/io/p/ewf.c => libr/io/p/io_ewf.c rename : libr/io/p/malloc.c => libr/io/p/io_malloc.c rename : libr/io/p/ptrace.c => libr/io/p/io_ptrace.c rename : libr/io/p/shm.c => libr/io/p/io_shm.c
22 lines
833 B
Makefile
22 lines
833 B
Makefile
# radare :: pancake // nopcode.org
|
|
# Makefile helpers for mercurial
|
|
|
|
hg-miss:
|
|
@-hg st . | grep -e vala$$ -e mk$$ | grep ^? | grep -v config-user | cut -c 2- || true
|
|
@-hg st . | grep -e \\.c$$ -e \\.h$$ | grep -v vapi | grep ^? | grep -v r_userconf | cut -c 2- || true
|
|
@-hg st . | grep -e \\.vapi$$ | grep ^? | cut -c 2- || true
|
|
@-hg st . | grep -e \\.acr$$ | grep ^? | cut -c 2- || true
|
|
|
|
FILES?=
|
|
hg-locdiff:
|
|
@A=`hg diff ${FILES} | grep -v '+++' | grep ^+ |wc -l` ; \
|
|
B=`hg diff ${FILES} | grep -v -- '---' | grep ^- |wc -l` ; \
|
|
echo $$((A-B))
|
|
|
|
hg-help:
|
|
@echo "hg-utils.mk mercurial utilities"
|
|
@echo "-----------.-------------------"
|
|
@echo "hg-miss | list interesting missing files"
|
|
@echo "hg-locdiff | count the difference of LOCs for current commit or FILES"
|
|
@echo " $$ hg-locdiff \"FILES=Makefile foo.c\""
|