forked from 307guojiawei/Linuxer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (31 loc) · 783 Bytes
/
Makefile
File metadata and controls
40 lines (31 loc) · 783 Bytes
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
install :
sudo pip3 install -r requirements.txt
build : build-ui clean-target
pyinstaller -F MainFrame.py
@cp -r ./assets ./dist/
@cp ./run.sh ./dist/run.sh
@echo "-------Build Done--------"
build-file : build-ui clean-target
pyinstaller MainFrame.py
@cp -r ./assets ./dist/MainFrame
@cp ./run.sh ./dist/MainFrame/run.sh
@echo "-------Build Done--------"
build-ui :
@./parseUI.sh
clean :
@rm *.spec
@rm -rf ./build
@echo "-------Done--------"
clean-all : clean clean-target
@echo "-------Clean all Done--------"
clean-target :
@rm -rf ./dist
@echo "-------Done--------"
run :
@echo "Starting APP ....."
@./dist/run.sh
@echo "-------APP closed--------"
run-file :
@echo "Starting APP ....."
@./dist/MainFrame/run.sh
@echo "-------APP closed--------"