-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.windows
More file actions
57 lines (43 loc) · 1.21 KB
/
Makefile.windows
File metadata and controls
57 lines (43 loc) · 1.21 KB
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
46
47
48
49
50
51
52
53
54
55
56
# Makefile for Windows (using PowerShell)
.PHONY: help install build test analyze clean run format lint
help:
@echo Usage: make [target]
@echo.
@echo Available targets:
@echo install Install dependencies
@echo build Build the app
@echo test Run tests
@echo analyze Analyze code
@echo clean Clean build files
@echo run Run the app
@echo format Format code
@echo lint Run linter
@echo setup-remotes Setup Git remotes
@echo install-hooks Install Git hooks
@echo push-all Push to all remotes
install:
flutter pub get
build:
flutter build apk --release
flutter build ios --release --no-codesign
flutter build web --release
test:
flutter test
analyze:
flutter analyze
clean:
flutter clean
if exist build rmdir /s /q build
if exist .dart_tool rmdir /s /q .dart_tool
run:
flutter run
format:
flutter format .
lint:
flutter analyze
setup-remotes:
powershell -ExecutionPolicy Bypass -File scripts\setup_git_remotes.ps1
install-hooks:
powershell -ExecutionPolicy Bypass -File scripts\install_git_hooks.ps1
push-all:
powershell -ExecutionPolicy Bypass -File scripts\push_to_all.ps1