mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 04:34:59 +01:00
14 lines
370 B
Bash
14 lines
370 B
Bash
|
#!/bin/bash -e
|
||
|
# Copyright 2016 Google Inc. Use of this source code is governed by an MIT-style
|
||
|
# license that can be found in the LICENSE file or at
|
||
|
# https://opensource.org/licenses/MIT.
|
||
|
|
||
|
unformatted=`pub run dart_style:format -n bin/ lib/ tool/`
|
||
|
if [[ -z "$unformatted" ]]; then
|
||
|
exit 0
|
||
|
else
|
||
|
echo "Files are unformatted:"
|
||
|
echo "$unformatted"
|
||
|
exit 1
|
||
|
fi
|