Skip to content

Commit faa4124

Browse files
committed
deply: update_pkg use go install
1 parent 2091885 commit faa4124

File tree

8 files changed

+29
-201
lines changed

8 files changed

+29
-201
lines changed

build/install_pkg.cmd

-42
This file was deleted.

build/install_pkg.sh

-42
This file was deleted.

build/update_pkg.cmd

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ if defined %GOPATH (
2525
echo GOPATH=%GOPATH%
2626

2727
echo get gocode ...
28-
go get -v -u "github.com/visualfc/gocode"
28+
go install -v github.com/visualfc/gocode@latest
2929
echo get gotools ...
30-
go get -v -u "github.com/visualfc/gotools"
30+
go install -v github.com/visualfc/gotools@latest
3131
echo get gomodifytags ...
32-
go get -v -u "github.com/fatih/gomodifytags"
32+
go install -v github.com/fatih/gomodifytags@latest
3333

3434
cd %BUILD_ROOT%
3535

build/update_pkg.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ else
2727
fi
2828

2929
echo get gocode ...
30-
go get -v -u "github.com/visualfc/gocode"
30+
go install -v github.com/visualfc/gocode@latest
3131
echo get gotools ...
32-
go get -v -u "github.com/visualfc/gotools"
32+
go install -v github.com/visualfc/gotools@latest
3333
echo get gomodifytags ...
34-
go get -v -u "github.com/fatih/gomodifytags"
34+
go install -v github.com/fatih/gomodifytags@latest
3535

3636

3737
if [ $? -ge 1 ]; then

build/update_pkg_force.cmd

-45
This file was deleted.

build/update_pkg_force.sh

-43
This file was deleted.

liteidex/deploy/welcome/en/install.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Source code for LiteIDE can be found at <https://github.com/visualfc/liteide>.
2727
> set QTDIR=c:\Qt\Qt4.8.5
2828
> set MINGWDIR=c:\Qt\MinGW
2929
> cd liteide/build
30-
> install_pkg.cmd
30+
> update_pkg.cmd
3131
> build_windows_mingw.cmd
3232
> deploy_windows_qt4.8_webkit.cmd
3333

@@ -37,7 +37,7 @@ Source code for LiteIDE can be found at <https://github.com/visualfc/liteide>.
3737
> set QTDIR=C:\Qt\Qt5.6.2\5.6\mingw49_32
3838
> set MINGWDIR=C:\Qt\Qt5.6.2\Tools\mingw492_32
3939
> cd liteide/build
40-
> install_pkg.cmd
40+
> update_pkg.cmd
4141
> build_windows_mingw.cmd
4242
> deploy_windows_qt5.6.cmd
4343

@@ -49,7 +49,7 @@ Source code for LiteIDE can be found at <https://github.com/visualfc/liteide>.
4949
## Git clone and build liteide ##
5050
$ git clone https://github.com/visualfc/liteide.git
5151
$ cd liteide/build
52-
$ ./install_pkg.sh
52+
$ ./update_pkg.sh
5353
$ ./build_linux_qt4.sh
5454

5555
## Run it: ##
@@ -70,7 +70,7 @@ Source code for LiteIDE can be found at <https://github.com/visualfc/liteide>.
7070
## Git clone and build liteide ##
7171
$ git clone https://github.com/visualfc/liteide.git
7272
$ cd liteide/build
73-
$ ./install_pkg.sh
73+
$ ./update_pkg.sh
7474
$ ./build_linux_qt5.sh
7575

7676
## Run it: ##
@@ -89,7 +89,7 @@ Source code for LiteIDE can be found at <https://github.com/visualfc/liteide>.
8989

9090
$ git clone https://github.com/visualfc/liteide.git
9191
$ cd liteide/build
92-
$ ./install_pkg.sh
92+
$ ./update_pkg.sh
9393
$ QTDIR=/usr ./build_linux.sh
9494

9595
## Run it: ##
@@ -100,7 +100,7 @@ Source code for LiteIDE can be found at <https://github.com/visualfc/liteide>.
100100
$ git clone https://github.com/visualfc/liteide.git
101101
$ export QTDIR=$HOME/QtSDK/Desktop/Qt/484/gcc
102102
$ cd liteide/build
103-
$ ./install_pkg.sh
103+
$ ./update_pkg.sh
104104
$ ./build_linux.sh
105105
$ ./deploy_linux_qt4.8_webkit.sh
106106

@@ -111,7 +111,7 @@ Source code for LiteIDE can be found at <https://github.com/visualfc/liteide>.
111111
$ git clone https://github.com/visualfc/liteide.git
112112
$ export QTDIR=$HOME/QtSDK/Desktop/Qt/484/gcc #If QT is installed with brew, input: export QTDIR=/usr/local/Cellar/qt/4.8.6
113113
$ cd liteide/build
114-
$ ./install_pkg.sh
114+
$ ./update_pkg.sh
115115
$ ./build_macos_qt4.sh
116116
$ ./deploy_macos_qt4.sh
117117
$ open liteide/LiteIDE.app
@@ -123,7 +123,7 @@ Download Qt from http://www.qt.io/download and install. (Qt5.6.2/Qt5.7.1/Qt5.8)
123123
$ git clone https://github.com/visualfc/liteide.git
124124
$ export QTDIR=$HOME/Qt5.6.2/Qt5.6/clang_64
125125
$ cd liteide/build
126-
$ ./install_pkg.sh
126+
$ ./update_pkg.sh
127127
$ ./build_macos_qt5.sh
128128
$ ./deploy_macos_qt5.sh
129129
$ open liteide/LiteIDE.app
@@ -135,7 +135,7 @@ Use brew install qt (eg brew install qt. Other versions of [email protected] and [email protected] wor
135135
$ git clone https://github.com/visualfc/liteide.git
136136
$ export QTDIR=/usr/local/Cellar/qt/5.8.0_2 # or modify accordingly for [email protected] and [email protected]
137137
$ cd liteide/build
138-
$ ./install_pkg.sh
138+
$ ./update_pkg.sh
139139
$ ./build_macos_qt5.sh
140140
$ open liteide/LiteIDE.app
141141

@@ -145,7 +145,7 @@ Warning! brew install qt rpath incorrect do not use deploy script.
145145
$ git clone https://github.com/visualfc/liteide.git
146146
$ export QTDIR=/usr/local/lib/qt4
147147
$ cd liteide/build
148-
$ ./install_pkg.sh
148+
$ ./update_pkg.sh
149149
$ ./build_openbsd.sh
150150

151151
## Run it: ##
@@ -158,7 +158,7 @@ Warning! brew install qt rpath incorrect do not use deploy script.
158158
$ sudo apt-get install qt5-default xterm
159159
$ git clone https://github.com/visualfc/liteide.git
160160
$ cd liteide/build
161-
$ ./install_pkg.sh
161+
$ ./update_pkg.sh
162162
$ QTDIR=/usr ./build_linux.sh
163163
The build process from a µSD card takes approx. 105 minutes on a RPi 2.
164164

@@ -181,7 +181,7 @@ i.e. liteidex/src/github.com/visualfc/gotools/README.md
181181
* https://github.com/fatih/gomodifytags
182182

183183
$ cd liteide/build
184-
$ ./install_pkg.sh
184+
$ ./update_pkg.sh
185185
$ export QTDIR=/usr/bin
186186
$ ./build_linux_fedora27_x64.sh
187187

0 commit comments

Comments
 (0)