]> git.proxmox.com Git - flutter/pve_flutter_frontend.git/blame - Makefile
node overview: add power settings menu
[flutter/pve_flutter_frontend.git] / Makefile
CommitLineData
d28b1683
TL
1all:
2
d2df6f98
TM
3.PHONY: android
4android:
d28b1683
TL
5 flutter build appbundle
6
7DEBUILDIR=deb-build
8deb:
9 rm -rf $(DEBUILDIR)
10 mkdir $(DEBUILDIR)
11 cp -a ../proxmox_dart_api_client ../proxmox_login_manager $(DEBUILDIR)/
12 cd $(DEBUILDIR)/proxmox_dart_api_client; pub get
13 cd $(DEBUILDIR)/proxmox_dart_api_client; pub run build_runner build
14 cd $(DEBUILDIR)/proxmox_login_manager; flutter pub get
d28b1683
TL
15 cd $(DEBUILDIR)/proxmox_login_manager; flutter packages pub run build_runner build
16 mkdir $(DEBUILDIR)/pve_flutter_frontend
17 cp -a pubspec.yaml pve_flutter_frontend.iml debian/ assets/ linux/ lib/ $(DEBUILDIR)/pve_flutter_frontend/
18 cd $(DEBUILDIR)/pve_flutter_frontend; flutter pub get
19 cd $(DEBUILDIR)/pve_flutter_frontend/; dpkg-buildpackage -b -uc -us
20
21.PHONY: deb clean
22clean:
23 flutter clean
24 rm -rf *.deb *.changes *.buildinfo $(DEBUILDIR)/ build/