#!/usr/bin/env sh
# This file was created by pub v3.10.1.
# Package: melos
# Version: 7.3.0
# Executable: melos
# Script: melos
if [ -f /home/vagrant/build/eu.weblibre.gecko/app/.pub-cache/global_packages/melos/bin/melos.dart-3.10.1.snapshot ]; then
  dart "/home/vagrant/build/eu.weblibre.gecko/app/.pub-cache/global_packages/melos/bin/melos.dart-3.10.1.snapshot" "$@"
  # The VM exits with code 253 if the snapshot version is out-of-date.
  # If it is, we need to delete it and run "pub global" manually.
  exit_code=$?
  if [ $exit_code != 253 ]; then
    exit $exit_code
  fi
  dart pub -v global run melos:melos "$@"
else
  dart pub global run melos:melos "$@"
fi
