forked from DonnieDice/protondrive-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
60 lines (47 loc) 路 1.43 KB
/
Copy pathMakefile
File metadata and controls
60 lines (47 loc) 路 1.43 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
57
58
59
60
.PHONY: help setup dev build build-web build-linux build-appimage build-deb build-rpm clean test fmt lint
help:
@echo "Proton Drive Tauri - Available commands:"
@echo ""
@echo "Setup & Development:"
@echo " make setup - Install dependencies and initialize project"
@echo " make dev - Start development server with hot-reload"
@echo ""
@echo "Building:"
@echo " make build - Build all distributions (Linux)"
@echo " make build-web - Build web app only"
@echo " make build-linux - Build Linux distributions (AppImage, DEB, RPM)"
@echo " make build-appimage - Build AppImage only"
@echo " make build-deb - Build DEB package only"
@echo " make build-rpm - Build RPM package only"
@echo ""
@echo "Development:"
@echo " make fmt - Format code (Rust)"
@echo " make lint - Lint code (Rust)"
@echo " make test - Run tests"
@echo " make clean - Clean build artifacts"
setup:
bash scripts/setup.sh
dev:
npm run dev
build: build-web
npm run build
build-web:
npm run build:web
build-linux: build-web
npm run build
build-appimage: build-web
npm run build:appimage
build-deb: build-web
npm run build:deb
build-rpm: build-web
npm run build:rpm
fmt:
cd src-tauri && cargo fmt
lint:
cd src-tauri && cargo clippy -- -D warnings
test:
cd WebClients/applications/drive && npm test
clean:
rm -rf src-tauri/target
rm -rf WebClients/applications/drive/build
rm -rf node_modules