-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (27 loc) · 782 Bytes
/
Copy pathMakefile
File metadata and controls
33 lines (27 loc) · 782 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
all:
# chrpath package must be installed to build
source .venv/bin/activate && python3 -m nuitka --show-progress --follow-imports --standalone andromeda.py
mv andromeda.dist andromeda-linux
cp README.md andromeda-linux/
venv:
python3 -m venv .venv
source .venv/bin/activate && pip3 install -r requirements.txt
zip: all
zip -r andromeda-linux.zip andromeda-linux/
sha1sum andromeda-linux.zip > andromeda-linux.zip.sha1
assetpack:
zip -r assets.zip assets/
sha1sum assets.zip > assets.zip.sha1
test:
chmod +x runtests.sh
./runtests.sh
clean:
rm -rf andromeda.dist/
rm -rf andromeda.build/
rm -rf andromeda-linux/
rm -f andromeda-linux.zip
rm -f andromeda-linux.zip.sha1
rm -f assets.zip
rm -f assets.zip.sha1
run:
source .venv/bin/activate && ./andromeda.py