Add debian packaging and some build scripts
This commit is contained in:
6
scripts/package
Executable file
6
scripts/package
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
mkdir -p deb/usr/bin/
|
||||
mkdir -p target/
|
||||
go build -o deb/usr/bin/gomuks
|
||||
version=$(cat deb/DEBIAN/control | grep Version | awk '{ print $2 }')
|
||||
dpkg-deb --build deb target/gomuks-$version.deb
|
Reference in New Issue
Block a user