forked from azlaan95/Flutter-Clean-Architecture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
44 lines (34 loc) · 1.52 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
### Makefile for tasks app ###
SHELL := /bin/bash
gen: ## Generate files
flutter pub run build_runner build --delete-conflicting-outputs
gen-domain: ## Generate files
cd domain && flutter pub run build_runner build --delete-conflicting-outputs
gen-data: ## Generate files
cd data && flutter pub run build_runner build --delete-conflicting-outputs
app-setup: ## Setup fvm and get Dependencies
dart pub global activate fvm
fvm install 3.7.8
fvm use 3.7.8
pub-get: ## Clean Pub Get
cd data && flutter clean && flutter pub get && cd ..
cd domain && flutter clean && flutter pub get && cd ..
flutter clean && flutter pub get
cd data && flutter pub run build_runner build --delete-conflicting-outputs && cd ..
cd domain && flutter pub run build_runner build --delete-conflicting-outputs && cd ..
flutter pub run build_runner build --delete-conflicting-outputs
app-clean: ## Clean Pub Get
cd data && flutter clean && cd ..
cd domain && flutter clean && cd ..
flutter clean
fvm-get: ## Clean Pub Get
cd data && fvm flutter clean && fvm flutter pub get && cd ..
cd domain && fvm flutter clean && fvm flutter pub get && cd ..
fvm flutter clean && fvm flutter pub get
cd data && fvm flutter pub run build_runner build --delete-conflicting-outputs && cd ..
cd domain && fvm flutter pub run build_runner build --delete-conflicting-outputs && cd ..
fvm flutter pub run build_runner build --delete-conflicting-outputs
fvm-clean: ## Clean Pub Get
cd data && fvm flutter clean && cd ..
cd domain && fvm flutter clean && cd ..
fvm flutter clean