diff --git a/README.md b/README.md index ae4e9fb99c..9cf6812271 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ and committed locally, then run the following commands before pushing your work: $ make run # Check/validate example code -$ dart_site check-all +$ dart run dart_site check-all ``` If these scripts report errors or warnings, diff --git a/dart_site.sh b/dart_site.sh deleted file mode 100755 index 23613ee493..0000000000 --- a/dart_site.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -set -e - -REPO_DIR=$(dirname $(dirname $BASH_SOURCE)) - -# Run dart pub get if the packages file doesn't exist yet. -if [[ ! -f "$REPO_DIR.dart_tool/package_config.json" ]]; then - dart pub get -fi - -# Run the dart_site tool and pass all arguments to it. -dart run dart_site "$@"