-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
60 lines (46 loc) · 1.21 KB
/
Copy pathMakefile
File metadata and controls
60 lines (46 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
57
58
59
60
SHELL := /bin/bash
.PHONY: help deps build-app run-app fix-rpaths deb rpm pacman package install check-update clean check
help:
@echo "Targets:"
@echo " make deps"
@echo " make build-app"
@echo " make build-app DMG=/path/to/QwenWorkCN.dmg"
@echo " make run-app"
@echo " make fix-rpaths"
@echo " make deb"
@echo " make rpm"
@echo " make pacman"
@echo " make package"
@echo " make install"
@echo " make check-update"
@echo " make check"
@echo " make clean"
deps:
bash scripts/install-deps.sh
build-app:
@if [ -n "$(DMG)" ]; then bash install.sh "$(DMG)"; else bash install.sh; fi
run-app:
bash qwenwork-app/start.sh
fix-rpaths:
bash scripts/fix-rpaths.sh
deb:
bash scripts/build-deb.sh
rpm:
bash scripts/build-rpm.sh
pacman:
bash scripts/build-pacman.sh
package:
bash scripts/package.sh
install:
bash scripts/install-package.sh
check-update:
@bash scripts/check-upstream-version.sh; \
rc=$$?; \
if [ $$rc -eq 1 ]; then exit 0; fi; \
exit $$rc
check:
bash -n install.sh scripts/*.sh scripts/lib/*.sh
clean:
rm -rf qwenwork-app qwenwork-app-next dist dist-next
rm -rf .asar-tool .asar-extract .test-repack.asar .test-repack.asar.unpacked
rm -f .tmp-asar-tool.js .tmp-asar-repack.js