Skip to content

Instantly share code, notes, and snippets.

@abarth
Created November 11, 2016 21:02
Show Gist options
  • Save abarth/befaa99ea67f25a74262f2c264a7f2a5 to your computer and use it in GitHub Desktop.
Save abarth/befaa99ea67f25a74262f2c264a7f2a5 to your computer and use it in GitHub Desktop.
#!/bin/sh
set -e
/src/flutter/flutter/bin/cache/dart-sdk/bin/dartanalyzer \
--lints \
--package-warnings \
"$1/$2" \
--packages=out/debug-x86-64/gen/$1/${1##*/}_dart_package.packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment