зеркало из https://github.com/mozilla/tls-canary.git
Moving to go 1.9
This commit is contained in:
Родитель
33d93f99cc
Коммит
d377109df5
|
@ -28,7 +28,7 @@ https://mibbit.com/?server=irc.mozilla.org&channel=%23tlscanary). Come talk to u
|
|||
## Requirements
|
||||
* Python 2.7
|
||||
* 7zip
|
||||
* Go compiler
|
||||
* Go 1.7 or later
|
||||
* OpenSSL-dev
|
||||
* libffi-dev
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
sudo apt-get update
|
||||
sudo apt-get -y install \
|
||||
gcc \
|
||||
golang-go \
|
||||
golang-1.9-go \
|
||||
libasound2 \
|
||||
libffi-dev \
|
||||
libgtk-3-0 \
|
||||
|
@ -19,3 +19,9 @@ sudo apt-get -y install virtualenv \
|
|||
|| sudo apt-get -y install python-virtualenv
|
||||
|
||||
sudo apt-get remove python-six # Native six module causes version conflict
|
||||
|
||||
# Fix go environment for using go 1.9
|
||||
sudo update-alternatives --remove-all go
|
||||
sudo update-alternatives --remove-all gofmt
|
||||
sudo update-alternatives --install /usr/bin/go go /usr/lib/go-1.9/bin/go 20
|
||||
sudo update-alternatives --install /usr/bin/gofmt gofmt /usr/lib/go-1.9/bin/gofmt 20
|
Загрузка…
Ссылка в новой задаче