-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (31 loc) · 981 Bytes
/
Copy pathMakefile
File metadata and controls
31 lines (31 loc) · 981 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
PKGVER:=$(GIT_TAG)
fmt:
poetry run black .
poetry run isort .
poetry run flake8
arch-clean:
rm -rf build/arch/artifacts/pkg
rm -rf build/arch/artifacts/src
rm -rf build/arch/artifacts/otpgui*
rm -f build/arch/artifacts/*
rm -f build/arch/artifacts/.SRCINFO
docker compose down
arch-pkg:
docker compose run --rm archpy /home/testuser/scripts/create-pkg.sh $(PKGVER)
arch-install:
docker compose run --rm archpy /home/testuser/scripts/install-pkg.sh $(PKGVER)
python-clean:
rm -f dist/otpgui*
rm -f build/python/artifacts/otpgui*
python-build:
./build/python/scripts/build.sh $(PKGVER)
deb-clean:
rm -rf build/deb/artifacts/otpgui*
rm -f build/deb/artifacts/python3-otpgui*
deb-pkg:
docker compose run --rm ubuntupy /home/testuser/scripts/create-pkg.sh $(PKGVER)
deb-install:
docker compose run --rm ubuntupy /home/testuser/scripts/install-pkg.sh $(PKGVER)
python: python-clean python-build
deb: deb-clean deb-pkg deb-install
arch: arch-clean arch-pkg arch-install