revert to old version

This commit is contained in:
shoopea 2021-10-31 15:55:32 +08:00
parent bc8fd60cca
commit 11c9fe5fa3
3 changed files with 8 additions and 6 deletions

View File

@ -11,13 +11,13 @@ RUN apk add --no-cache \
WORKDIR /tmp/_build_tdlib/
RUN git clone https://github.com/tdlib/td.git /tmp/_build_tdlib/
RUN git clone --depth 1 --branch v1.5.0 https://github.com/tdlib/td.git /tmp/_build_tdlib/
RUN mkdir build
WORKDIR /tmp/_build_tdlib/build/
RUN cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ..
RUN make -j13
RUN make -j9
RUN cmake --build . --target install
RUN make install

4
go.mod
View File

@ -1,5 +1,5 @@
module git.siteop.biz/chtwrs/gocw
go 1.13
go 1.16
require github.com/Arman92/go-tdlib v0.0.0-20200423222840-430aa563191c
require github.com/Arman92/go-tdlib v0.0.0-20191103185020-a66012edd023

6
go.sum
View File

@ -1,2 +1,4 @@
github.com/Arman92/go-tdlib v0.0.0-20200423222840-430aa563191c h1:ZjGWx5+3mK6GYJxPgZWq9+1C11eTW7gdElOL7ZVwHmU=
github.com/Arman92/go-tdlib v0.0.0-20200423222840-430aa563191c/go.mod h1:ZzkRfuaFj8etIYMj/ECtXtgfz72RE6U+dos27b3XIwk=
github.com/Arman92/go-tdlib v0.0.0-20191103185020-a66012edd023 h1:haMtq/TntyI3l1I3wF0BrjOJqumTZ+07IAYvNG6utx4=
github.com/Arman92/go-tdlib v0.0.0-20191103185020-a66012edd023/go.mod h1:ZzkRfuaFj8etIYMj/ECtXtgfz72RE6U+dos27b3XIwk=
github.com/Arman92/go-tdlib v1.0.0 h1:ioj9TlKXjmVfyc6LwyTb4bje1WhrhCUzlJlmYxow3w8=
github.com/Arman92/go-tdlib v1.0.0/go.mod h1:gz/NLfLyXSF3LufhmK4a+xcrlIvAUR67zxOWv0JxvsU=