-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
17 lines (15 loc) · 656 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.PHONY: help f_pub_runner
help: ## This help dialog.
@IFS=$$'\n' ; \
help_lines=(`fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//'`); \
for help_line in $${help_lines[@]}; do \
IFS=$$'#' ; \
help_split=($$help_line) ; \
help_command=`echo $${help_split[0]} | sed -e 's/^ *//' -e 's/ *$$//'` ; \
help_info=`echo $${help_split[2]} | sed -e 's/^ *//' -e 's/ *$$//'` ; \
printf "%-30s %s\n" $$help_command $$help_info ; \
done
f_pub_runner: ## This is flutter pub run build_runner step.
@echo "⊢ Running flutter pub run build_runner ⊣"
@flutter pub run build_runner build --delete-conflicting-outputs
@echo "Done ✅"