Update CI script and tcell
This commit is contained in:
parent
de39ec86ff
commit
e539a9098c
@ -7,3 +7,4 @@ env:
|
|||||||
commands:
|
commands:
|
||||||
- ./scripts/ci
|
- ./scripts/ci
|
||||||
- rm -rf .tmp/ target/
|
- rm -rf .tmp/ target/
|
||||||
|
- git checkout .
|
||||||
|
4
go.mod
4
go.mod
@ -14,6 +14,6 @@ require (
|
|||||||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
|
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
|
||||||
gopkg.in/yaml.v2 v2.2.2
|
gopkg.in/yaml.v2 v2.2.2
|
||||||
maunium.net/go/mautrix v0.1.0-alpha.2
|
maunium.net/go/mautrix v0.1.0-alpha.2
|
||||||
maunium.net/go/tcell v0.0.0-20190111212645-703b3f6ecec9
|
maunium.net/go/tcell v0.0.0-20190111223412-5e74142cb009
|
||||||
maunium.net/go/tview v0.0.0-20190111212720-d6aa1eac1b9a
|
maunium.net/go/tview v0.0.0-20190111223510-de38190b095b
|
||||||
)
|
)
|
||||||
|
2
go.sum
2
go.sum
@ -34,7 +34,9 @@ maunium.net/go/tcell v0.0.0-20190111210611-542340841245 h1:JIekRWZ4na6cZJa5VMwLF
|
|||||||
maunium.net/go/tcell v0.0.0-20190111210611-542340841245/go.mod h1:U+akxk8CP6vAWV74r2NOqEMMHw6kPGWTyvjzCtemxtM=
|
maunium.net/go/tcell v0.0.0-20190111210611-542340841245/go.mod h1:U+akxk8CP6vAWV74r2NOqEMMHw6kPGWTyvjzCtemxtM=
|
||||||
maunium.net/go/tcell v0.0.0-20190111212645-703b3f6ecec9 h1:aSZPhcBmGu8MIddPxWNksfjbXHmlRL0yUddwB9CP4s0=
|
maunium.net/go/tcell v0.0.0-20190111212645-703b3f6ecec9 h1:aSZPhcBmGu8MIddPxWNksfjbXHmlRL0yUddwB9CP4s0=
|
||||||
maunium.net/go/tcell v0.0.0-20190111212645-703b3f6ecec9/go.mod h1:U+akxk8CP6vAWV74r2NOqEMMHw6kPGWTyvjzCtemxtM=
|
maunium.net/go/tcell v0.0.0-20190111212645-703b3f6ecec9/go.mod h1:U+akxk8CP6vAWV74r2NOqEMMHw6kPGWTyvjzCtemxtM=
|
||||||
|
maunium.net/go/tcell v0.0.0-20190111223412-5e74142cb009/go.mod h1:U+akxk8CP6vAWV74r2NOqEMMHw6kPGWTyvjzCtemxtM=
|
||||||
maunium.net/go/tview v0.0.0-20190111211351-2f23a5129af0 h1:xHG0S9ExKp+6dkhasnK/fgO9mLHSSSqVoAymjyUtDdI=
|
maunium.net/go/tview v0.0.0-20190111211351-2f23a5129af0 h1:xHG0S9ExKp+6dkhasnK/fgO9mLHSSSqVoAymjyUtDdI=
|
||||||
maunium.net/go/tview v0.0.0-20190111211351-2f23a5129af0/go.mod h1:ypYT6Dn71E7sVv6NxCjNo2cBJWJa257VSHCGOssGbV0=
|
maunium.net/go/tview v0.0.0-20190111211351-2f23a5129af0/go.mod h1:ypYT6Dn71E7sVv6NxCjNo2cBJWJa257VSHCGOssGbV0=
|
||||||
maunium.net/go/tview v0.0.0-20190111212720-d6aa1eac1b9a h1:f4JVX4GHJH/wMcL9VACMVXT0eaWhxx9a7OT/NLcxsw8=
|
maunium.net/go/tview v0.0.0-20190111212720-d6aa1eac1b9a h1:f4JVX4GHJH/wMcL9VACMVXT0eaWhxx9a7OT/NLcxsw8=
|
||||||
maunium.net/go/tview v0.0.0-20190111212720-d6aa1eac1b9a/go.mod h1:CTOF8OnDeK31Wl25GXdbYzTDvvZoiazmKNZdwkVUmzE=
|
maunium.net/go/tview v0.0.0-20190111212720-d6aa1eac1b9a/go.mod h1:CTOF8OnDeK31Wl25GXdbYzTDvvZoiazmKNZdwkVUmzE=
|
||||||
|
maunium.net/go/tview v0.0.0-20190111223510-de38190b095b/go.mod h1:Oi2eW32B8/cE7ZYXL6jyHMrXJL8ARDOQk/3aDvLEyVs=
|
||||||
|
@ -27,9 +27,11 @@ cp target/$PROJECT_NAME-linux-amd64 deb/usr/bin/gomuks
|
|||||||
git clone https://github.com/tulir/tcell.git .tmp/tcell
|
git clone https://github.com/tulir/tcell.git .tmp/tcell
|
||||||
mkdir -p deb/usr/share/tcell/
|
mkdir -p deb/usr/share/tcell/
|
||||||
rm -rf deb/usr/share/tcell/database
|
rm -rf deb/usr/share/tcell/database
|
||||||
cp -r .tmp.tcell/terminfo/database deb/usr/share/tcell
|
cp -r .tmp/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
|
sed -i.bak -E 's/(Version: [0-9]+\.[0-9]+\.[0-9]+\-[0-9]+)/\1+'$SHORTHEAD'/' deb/DEBIAN/control
|
||||||
|
chmod -R -s deb/DEBIAN
|
||||||
|
chmod -R 0755 deb/DEBIAN
|
||||||
dpkg-deb --build deb 'target/'$PROJECT_NAME'_linux_amd64.deb'
|
dpkg-deb --build deb 'target/'$PROJECT_NAME'_linux_amd64.deb'
|
||||||
mv -f deb/DEBIAN/control.bak deb/DEBIAN/control
|
mv -f deb/DEBIAN/control.bak deb/DEBIAN/control
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user