You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
365 B
Bash
18 lines
365 B
Bash
#!/usr/bin/env bash
|
|
|
|
build_deb() {
|
|
# https://www.devdungeon.com/content/debian-package-tutorial-dpkgdeb
|
|
# that was really easy actually
|
|
rm build dist -r
|
|
mkdir build/deb -p
|
|
python3 setup.py install --root=build/deb
|
|
cp ./DEBIAN build/deb/ -r
|
|
mkdir dist -p
|
|
dpkg -b build/deb dist/key-mapper-0.4.1.deb
|
|
}
|
|
|
|
build_deb &
|
|
# add more build targets here
|
|
|
|
wait
|