Skip to content

Commit

Permalink
Fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
dam5s committed Aug 11, 2023
1 parent 10cec91 commit 3ec8a51
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
with:
flutter-version: '3.x'
channel: 'stable'
- run: flutter pub get
- run: make install
- run: make check
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ 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: cyclic_dependency_checks/install
cyclic_dependency_checks/install: ## Fetch dependencies for cyclic_dependency_checks
cd cyclic_dependency_checks; dart pub get

.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
Expand All @@ -13,6 +17,10 @@ cyclic_dependency_checks/format: ## Format cyclic_dependency_checks code
cyclic_dependency_checks/test: ## Run cyclic_dependency_checks tests
cd cyclic_dependency_checks; dart test

.PHONY: disk_space_usage/install
disk_space_usage/install: ## Fetch dependencies for disk_space_usage
cd disk_space_usage; flutter pub get

.PHONY: disk_space_usage/format
disk_space_usage/format: ## Format disk_space_usage code
cd disk_space_usage; dart format lib --line-length 100 --set-exit-if-changed
Expand All @@ -21,6 +29,9 @@ disk_space_usage/format: ## Format disk_space_usage code
disk_space_usage/test: ## Run disk_space_usage tests
cd disk_space_usage; flutter test

.PHONY: install
install: disk_space_usage/install cyclic_dependency_checks/install ## Fetch dependencies for all projects

.PHONY: format
format: disk_space_usage/format cyclic_dependency_checks/format ## Format all code

Expand Down

0 comments on commit 3ec8a51

Please sign in to comment.