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