Create autobuild.sh

This commit is contained in:
jiangcuo 2023-12-19 17:28:46 +08:00 committed by GitHub
parent e76ed9d294
commit aed70f1b1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

9
autobuild.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
git submodule update --init --depth=1
debian/rules debian/control
sudo apt install devscripts rsync -y
yes | sudo mk-build-deps --install --remove
rm build -rf
mkdir build && rsync -ra * build/
cd build
dpkg-buildpackage -b -us -uc