-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
Makefile
45 lines (34 loc) Β· 1.1 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
45
#--------------------------------------------------------------------------
#
# The make file is used to quickly run commands to help unify
# our workflow and avoid typing longer commands. Please add here useful
# commands and do not forget to write a comment to explain how this command
# works and what it does. Update Readme File if necessary.
#
#--------------------------------------------------------------------------
# Make revert soft commit
revert:
git reset --soft HEAD^1
# Cleans the project
clean:
fvm flutter clean && fvm flutter pub get
# Deploy will make sure fastlane release is triggered
deploy:
make clean && make release
# This command will clean, delete .dart_tool and generate
# classes.
generate:
fvm flutter packages pub run build_runner build --delete-conflicting-outputs
build-apk:
fvm flutter clean && fvm flutter pub get && fvm flutter build apk --flavor development -t lib/main_development.dart
#This command runs fastlane
release:
fastlane release
dev:
git checkout dev
master:
git chechout master
ready:
fvm flutter analyze && fvm flutter test
shell:
./scripts/env.sh