Skip to content

Commit

Permalink
Eliminate the need for dart_style dev_dependency (flutter#20)
Browse files Browse the repository at this point in the history
Apply dartfmt straight from the SDK.
  • Loading branch information
cbracken authored Dec 15, 2016
1 parent 4531665 commit 3fb9488
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ version: 0.2.0
dependencies:
path: ^1.4.0
dev_dependencies:
dart_style:
test: ^0.12.10
3 changes: 1 addition & 2 deletions tool/travis.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/bin/bash

# Make sure dartfmt is run on everything
# This assumes you have dart_style as a dev_dependency
echo "Checking dartfmt..."
NEEDS_DARTFMT="$(find lib test tool -name "*.dart" | xargs pub run dart_style:format -n)"
NEEDS_DARTFMT="$(dartfmt -n lib test tool)"
if [[ ${NEEDS_DARTFMT} != "" ]]
then
echo "FAILED"
Expand Down

0 comments on commit 3fb9488

Please sign in to comment.