forked from visualfc/liteide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update tr, remove liteide_tr.ts qt tools error process
- Loading branch information
Showing
15 changed files
with
577 additions
and
571 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,92 @@ | ||
#!/bin/sh | ||
|
||
export BUILD_ROOT=$PWD | ||
|
||
if [ -z $LITEIDE_ROOT ]; then | ||
export LITEIDE_ROOT=$PWD/../liteidex | ||
fi | ||
|
||
echo build liteide | ||
echo QTDIR=$QTDIR | ||
echo GOROOT=$GOROOT | ||
echo BUILD_ROOT=$BUILD_ROOT | ||
echo LITEIDE_ROOT=$LITEIDE_ROOT | ||
echo . | ||
|
||
if [ -z $QTDIR ]; then | ||
echo 'error, QTDIR is null' | ||
exit 1 | ||
fi | ||
|
||
export PATH=$QTDIR/bin:$PATH | ||
|
||
echo qmake liteide ... | ||
echo . | ||
qmake $LITEIDE_ROOT -spec linux-g++ "CONFIG+=release" | ||
|
||
if [ $? -ge 1 ]; then | ||
echo 'error, qmake fail' | ||
exit 1 | ||
fi | ||
|
||
echo make liteide ... | ||
echo . | ||
make | ||
|
||
if [ $? -ge 1 ]; then | ||
echo 'error, make fail' | ||
exit 1 | ||
fi | ||
|
||
go version | ||
if [ $? -ge 1 ]; then | ||
echo 'error, not find go in PATH' | ||
exit 1 | ||
fi | ||
|
||
echo build liteide tools ... | ||
cd $LITEIDE_ROOT | ||
|
||
if [ -z $GOPATH ]; then | ||
export GOPATH=$PWD | ||
else | ||
export GOPATH=$PWD:$GOPATH | ||
fi | ||
|
||
go install -ldflags "-s" -v github.com/visualfc/gotools | ||
|
||
if [ $? -ge 1 ]; then | ||
echo 'error, go install fail' | ||
exit 1 | ||
fi | ||
|
||
go install -ldflags "-s" -v github.com/nsf/gocode | ||
|
||
if [ $? -ge 1 ]; then | ||
echo 'error, go install fail' | ||
exit 1 | ||
fi | ||
|
||
echo deploy ... | ||
|
||
cd $BUILD_ROOT | ||
|
||
rm -r liteide | ||
mkdir -p liteide | ||
mkdir -p liteide/bin | ||
mkdir -p liteide/share/liteide | ||
mkdir -p liteide/lib/liteide/plugins | ||
|
||
cp -a -v $LITEIDE_ROOT/LICENSE.LGPL liteide | ||
cp -a -v $LITEIDE_ROOT/LGPL_EXCEPTION.TXT liteide | ||
cp -a -v $LITEIDE_ROOT/../README.md liteide | ||
cp -a -v $LITEIDE_ROOT/../CONTRIBUTORS liteide | ||
|
||
cp -a -v $LITEIDE_ROOT/liteide/bin/* liteide/bin | ||
cp -a -v $LITEIDE_ROOT/bin/gotools liteide/bin | ||
cp -a -v $LITEIDE_ROOT/bin/gocode liteide/bin | ||
cp -a -v $LITEIDE_ROOT/liteide/lib/liteide/libliteapp.* liteide/lib/liteide | ||
cp -a -v $LITEIDE_ROOT/liteide/lib/liteide/plugins/*.so liteide/lib/liteide/plugins | ||
|
||
cp -r -v $LITEIDE_ROOT/deploy/* liteide/share/liteide/ | ||
cp -r -v $LITEIDE_ROOT/os_deploy/linux/* liteide/share/liteide/ | ||
#!/bin/sh | ||
|
||
export BUILD_ROOT=$PWD | ||
|
||
if [ -z $LITEIDE_ROOT ]; then | ||
export LITEIDE_ROOT=$PWD/../liteidex | ||
fi | ||
|
||
echo build liteide | ||
echo QTDIR=$QTDIR | ||
echo GOROOT=$GOROOT | ||
echo BUILD_ROOT=$BUILD_ROOT | ||
echo LITEIDE_ROOT=$LITEIDE_ROOT | ||
echo . | ||
|
||
if [ -z $QTDIR ]; then | ||
echo 'error, QTDIR is null' | ||
exit 1 | ||
fi | ||
|
||
export PATH=$QTDIR/bin:$PATH | ||
|
||
echo qmake liteide ... | ||
echo . | ||
qmake $LITEIDE_ROOT -spec linux-g++ "CONFIG+=release" | ||
|
||
if [ $? -ge 1 ]; then | ||
echo 'error, qmake fail' | ||
exit 1 | ||
fi | ||
|
||
echo make liteide ... | ||
echo . | ||
make | ||
|
||
if [ $? -ge 1 ]; then | ||
echo 'error, make fail' | ||
exit 1 | ||
fi | ||
|
||
go version | ||
if [ $? -ge 1 ]; then | ||
echo 'error, not find go in PATH' | ||
exit 1 | ||
fi | ||
|
||
echo build liteide tools ... | ||
cd $LITEIDE_ROOT | ||
|
||
if [ -z $GOPATH ]; then | ||
export GOPATH=$PWD | ||
else | ||
export GOPATH=$PWD:$GOPATH | ||
fi | ||
|
||
go install -ldflags "-s" -v github.com/visualfc/gotools | ||
|
||
if [ $? -ge 1 ]; then | ||
echo 'error, go install fail' | ||
exit 1 | ||
fi | ||
|
||
go install -ldflags "-s" -v github.com/nsf/gocode | ||
|
||
if [ $? -ge 1 ]; then | ||
echo 'error, go install fail' | ||
exit 1 | ||
fi | ||
|
||
echo deploy ... | ||
|
||
cd $BUILD_ROOT | ||
|
||
rm -r liteide | ||
mkdir -p liteide | ||
mkdir -p liteide/bin | ||
mkdir -p liteide/share/liteide | ||
mkdir -p liteide/lib/liteide/plugins | ||
|
||
cp -a -v $LITEIDE_ROOT/LICENSE.LGPL liteide | ||
cp -a -v $LITEIDE_ROOT/LGPL_EXCEPTION.TXT liteide | ||
cp -a -v $LITEIDE_ROOT/../README.md liteide | ||
cp -a -v $LITEIDE_ROOT/../CONTRIBUTORS liteide | ||
|
||
cp -a -v $LITEIDE_ROOT/liteide/bin/* liteide/bin | ||
cp -a -v $LITEIDE_ROOT/bin/gotools liteide/bin | ||
cp -a -v $LITEIDE_ROOT/bin/gocode liteide/bin | ||
cp -a -v $LITEIDE_ROOT/liteide/lib/liteide/libliteapp.* liteide/lib/liteide | ||
cp -a -v $LITEIDE_ROOT/liteide/lib/liteide/plugins/*.so liteide/lib/liteide/plugins | ||
|
||
cp -r -v $LITEIDE_ROOT/deploy/* liteide/share/liteide/ | ||
cp -r -v $LITEIDE_ROOT/os_deploy/linux/* liteide/share/liteide/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.