check for overmind first then foreman

pull/250/head
Wuletaw Wonte 2 years ago
parent e6179e5cbc
commit de15ebbe5d

@ -1,9 +1,7 @@
#!/usr/bin/env bash
if ! command -v foreman &> /dev/null
then
echo "Installing foreman..."
gem install foreman
fi
foreman start -f Procfile.dev "$@"
if command -v overmind &> /dev/null; then
overmind start -f Procfile.dev "$@"
else
foreman start -f Procfile.dev "$@"
fi
Loading…
Cancel
Save