input-remapper/scripts/build.sh

18 lines
365 B
Bash
Raw Normal View History

2020-11-29 09:42:20 +00:00
#!/usr/bin/env bash
2020-11-29 11:23:07 +00:00
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
2021-01-01 02:47:50 +00:00
dpkg -b build/deb dist/key-mapper-0.5.0.deb
2020-11-29 11:23:07 +00:00
}
2020-11-29 11:05:54 +00:00
2020-11-29 11:23:07 +00:00
build_deb &
2020-11-29 12:55:37 +00:00
# add more build targets here
2020-11-29 11:23:07 +00:00
wait