exa/devtools/dev-run-debug.sh
Benjamin Sago 895808e945 Show friendlier warnings when binaries don’t exist
Also, allow the --release flags to be passed to the build-exa and test-exa commands.
2017-10-02 10:22:50 +02:00

8 lines
206 B
Bash
Executable File

#!/bin/bash
if [[ -f ~/target/debug/exa ]]; then
~/target/debug/exa "$@"
else
echo -e "Debug exa binary does not exist!"
echo -e "Run \033[32;1mb\033[0m or \033[32;1mbuild-exa\033[0m to create it"
fi