Files
Sourcetrail/script/valgrind_debug.sh
T
Eberhard Graether b854cb1f46 setup: improved sh scripts
- switched to !/bin/bash because of issues with echo -e on Mac OS
- improved git-sync-master.sh to also rebase on current feature branch
- improved logs in git-publish.sh
- changed build scripts to execute from /bin
2014-04-02 22:42:27 +02:00

10 lines
233 B
Bash
Executable File

#!/bin/bash
# Determine path to script
MY_PATH=`dirname "$0"`
cd $MY_PATH/..
# Build and run target
make -C build/Debug "$1" && cd bin && valgrind --tool=memcheck --leak-check=yes --log-file=../build/Debug/"$1".leaklog Debug/"$1"