-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
33 lines (26 loc) · 852 Bytes
/
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
help:
@echo "---------------HELP-----------------"
@echo "clean: Clean the workspace"
@echo "generate: Run code generation"
@echo "run-linux: Run the linux app (debug)"
@echo "run-chrome: Run the chrome app (debug)"
@echo "release: Build release binaries"
@echo "------------------------------------"
clean:
flutter clean
run-linux:
flutter run -d linux
run-chrome:
# Clean the workspace, if the app was run in desktop
# mode before, web won't work without a cleanup
flutter clean
flutter run -d chrome
generate:
flutter packages pub run build_runner build --delete-conflicting-outputs
release:
flutter clean
flutter packages get
flutter packages pub run build_runner build --delete-conflicting-outputs
flutter build web --release --base-href '/fluestr-canvas/'
flutter build apk --split-per-abi
flutter build linux --release