diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-05-26 00:07:01 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-05-26 00:07:01 +0300 |
commit | c9e138c5e8e589efa82e2b3cad189806dc35d981 (patch) | |
tree | d74d2852947a666e471992b8841af5c6c1263849 /scripts/ci | |
parent | 524e9b7faf230f6a9af8718fb877cfd1dad9ddc5 (diff) |
Update tcell and include tcell database in debian package
Diffstat (limited to 'scripts/ci')
-rwxr-xr-x | scripts/ci | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -16,7 +16,14 @@ GOOS=darwin go build -o "target/$PROJECT_NAME-darwin-amd64" echo "Packaging for debian (linux/amd64)" mkdir -p deb/usr/bin/ + cp target/$PROJECT_NAME-linux-amd64 deb/usr/bin/gomuks + +go get -u maunium.net/go/tcell +mkdir -p deb/usr/share/tcell/ +rm -rf deb/usr/share/tcell/database +cp -r $GOPATH/src/maunium.net/go/tcell/terminfo/database deb/usr/share/tcell + sed -i.bak -E 's/(Version: [0-9]+\.[0-9]+\.[0-9]+\-[0-9]+)/\1+'$SHORTHEAD'/' deb/DEBIAN/control dpkg-deb --build deb 'target/'$PROJECT_NAME'_linux_amd64.deb' mv -f deb/DEBIAN/control.bak deb/DEBIAN/control |