aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d/dev
blob: 7815658dc41cd24768a5ab3f3e37d2aeaa084c36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# vim: ft=sh:

memcheck() {
	valgrind --track-fds=yes --leak-check=full --track-origins=yes "$@"
}

massif() {
	valgrind --tool=massif "$@"
}

mbuild() {
	if [ ! -d "build" ]; then
		meson setup build
	fi
	meson compile -C build "$@"
}