-
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.
- Loading branch information
Showing
29 changed files
with
38 additions
and
913 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,43 +1,7 @@ | ||
default: check | ||
include weather_app/Tasks.mk | ||
|
||
.PHONY: tasks | ||
tasks: ## Print available tasks | ||
@printf "\nUsage: make [target]\n\n" | ||
@grep -E '^[a-z][^:]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' | ||
.PHONY: install check | ||
|
||
.PHONY: cyclic_dependency_checks/install | ||
cyclic_dependency_checks/install: ## Fetch dependencies for cyclic_dependency_checks | ||
cd cyclic_dependency_checks; dart pub get | ||
install: weather_app/install | ||
|
||
.PHONY: cyclic_dependency_checks/format | ||
cyclic_dependency_checks/format: ## Format cyclic_dependency_checks code | ||
cd cyclic_dependency_checks; dart format lib --line-length 100 --set-exit-if-changed | ||
|
||
.PHONY: cyclic_dependency_checks/test | ||
cyclic_dependency_checks/test: ## Run cyclic_dependency_checks tests | ||
cd cyclic_dependency_checks; dart scripts/generate_big_codebase.dart && dart test | ||
|
||
.PHONY: weather_app/install | ||
weather_app/install: ## Fetch dependencies for weather_app | ||
cd weather_app; flutter pub get | ||
|
||
.PHONY: weather_app/format | ||
weather_app/format: ## Format weather_app code | ||
cd weather_app; dart format lib --line-length 100 --set-exit-if-changed | ||
|
||
.PHONY: weather_app/test | ||
weather_app/test: ## Run weather_app tests | ||
cd weather_app; flutter test | ||
|
||
.PHONY: format | ||
format: cyclic_dependency_checks/format weather_app/format ## Format all code | ||
|
||
.PHONY: test | ||
test: cyclic_dependency_checks/test weather_app/test ## Run all tests | ||
|
||
.PHONY: check-cycles | ||
check-cycles: ## Test cyclic dependencies | ||
cd cyclic_dependency_checks; dart run cyclic_dependency_checks ../weather_app | ||
|
||
.PHONY: check | ||
check: format test check-cycles ## Check formatting and run tests | ||
check: weather_app/check |
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
41 changes: 0 additions & 41 deletions
41
cyclic_dependency_checks/bin/cyclic_dependency_checks.dart
This file was deleted.
Oops, something went wrong.
80 changes: 0 additions & 80 deletions
80
cyclic_dependency_checks/lib/cycle_detection/cycle_detector.dart
This file was deleted.
Oops, something went wrong.
123 changes: 0 additions & 123 deletions
123
cyclic_dependency_checks/lib/cycle_detection/imported_dependency.dart
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
cyclic_dependency_checks/lib/cycle_detection/list_extensions.dart
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.