mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-05 14:17:33 +03:00
72c936c1e0
408 tests passing, 10 failing, 17 pending
16 lines
379 B
Bash
Executable File
16 lines
379 B
Bash
Executable File
#!/usr/bin/env bash
|
|
assert_command_exists () {
|
|
if ! ( type "$1" &> /dev/null ); then
|
|
echo "Sorry, I need the '$1' command, but couldn't find it installed." >&2
|
|
exit 1
|
|
fi
|
|
}
|
|
|
|
assert_command_exists stack
|
|
assert_command_exists sbt
|
|
assert_command_exists scala
|
|
assert_command_exists fswatch
|
|
assert_command_exists bloop
|
|
|
|
fswatch --batch . | "`dirname $0`/execwatch.sh" "$1"
|