You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
299 B
10 lines
299 B
#!/bin/bash |
|
set -euxo pipefail |
|
cd "$(dirname "$0")/.." |
|
|
|
dart_io_usage=("$(grep -r packages --include "*\.dart" -e "dart:io" -l | grep -v "/\.dart_tool/" | grep -v "/bin/" | grep -v "/test_driver/" || true)") |
|
|
|
if [[ -n "${dart_io_usage[*]}" ]]; then |
|
printf "%s\n" "${dart_io_usage[@]}" |
|
exit 1 |
|
fi
|
|
|