-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace build shell script with a little makefile
- Loading branch information
Showing
3 changed files
with
19 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
build: lib/*dart test/*dart bin/*dart | ||
dartanalyzer lib/ bin/ | ||
dartfmt -w lib/ test/ bin/ | ||
DARTANALYZER_FLAGS=--fatal-warnings | ||
|
||
build: lib/*dart test/*dart bin/*dart deps | ||
dartanalyzer ${DARTANALYZER_FLAGS} lib/ bin/ | ||
dartfmt -n --set-exit-if-changed lib/ test/ bin/ | ||
pub run test_coverage | ||
|
||
deps: pubspec.yaml | ||
pub get | ||
|
||
reformatting: | ||
dartfmt -w lib/ test/ bin/ | ||
|
||
build-local: reformatting build | ||
genhtml -o coverage coverage/lcov.info | ||
open coverage/index.html | ||
open coverage/index.html | ||
|
||
publish: | ||
pub publish |
This file was deleted.
Oops, something went wrong.