dart_build () { [[ -f pubspec.yaml ]] || return; DART=$(grep ^name pubspec.yaml | awk '{print $2}'); dart pub get; dart compile exe bin/"$DART".dart }