-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from DutchCodingCompany/feature/upgrade_choppe…
…r_v8 Release v1
- Loading branch information
Showing
13 changed files
with
295 additions
and
275 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
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Makefile | ||
|
||
help: | ||
@printf "%-20s %s\n" "Target" "Description" | ||
@printf "%-20s %s\n" "------" "-----------" | ||
@make -pqR : 2>/dev/null \ | ||
| awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' \ | ||
| sort \ | ||
| egrep -v -e '^[^[:alnum:]]' -e '^$@$$' \ | ||
| xargs -I _ sh -c 'printf "%-20s " _; make _ -nB | (grep -i "^# Help:" || echo "") | tail -1 | sed "s/^# Help: //g"' | ||
|
||
analyze: | ||
@# Help: Analyze the project's Dart code. | ||
dart analyze --fatal-infos | ||
|
||
check_format: | ||
@# Help: Check the formatting of one or more Dart files. | ||
dart format --output=none --set-exit-if-changed . | ||
|
||
check_outdated: | ||
@# Help: Check which of the project's packages are outdated. | ||
dart pub outdated | ||
|
||
check_style: | ||
@# Help: Analyze the project's Dart code and check the formatting one or more Dart files. | ||
make analyze && make check_format | ||
|
||
format: | ||
@# Help: Format one or more Dart files. | ||
dart format . | ||
|
||
install: | ||
@# Help: Install all the project's packages | ||
dart pub get | ||
|
||
sure: | ||
@# Help: Analyze the project's Dart code, check the formatting one or more Dart files and run unit tests for the current project. | ||
make check_style && make tests | ||
|
||
show_test_coverage: | ||
@# Help: Run Dart unit tests for the current project and show the coverage. | ||
dart pub global activate coverage && dart pub global run coverage:test_with_coverage | ||
lcov --remove coverage/lcov.info -o coverage/lcov_without_generated_code.info --ignore-errors unused | ||
genhtml coverage/lcov_without_generated_code.info -o coverage/html | ||
open coverage/html/index.html | ||
|
||
tests: | ||
@# Help: Run Dart unit tests for the current project. | ||
dart test |
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
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.