exa/devtools/dev-run-release.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
232 B
Bash
Executable File

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