This commit is contained in:
life committed 2014-05-07 13:47:54 +08:00
1 parent 614a9a58b3
commit e961dbfcd6
6 files changed
-20

No files matched your search

BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
-20
View File
@@ -1,20 +0,0 @@
#!/bin/sh
SCRIPTPATH=$(cd "$(dirname "$0")"; pwd)
# set link
path="$SCRIPTPATH/src/github.com/leanote"
if [ ! -d "$path" ]; then
mkdir -p "$path"
fi
ln -s ../../../../ $SCRIPTPATH/src/github.com/leanote/leanote
# set GOPATH
export GOPATH=$GOPATH:$SCRIPTPATH
# run
osName=`uname`
if [ $osName == "Darwin" ]; then
"$SCRIPTPATH/leanote-mac" -importPath github.com/leanote/leanote
else
"$SCRIPTPATH/leanote-linux" -importPath github.com/leanote/leanote
fi
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.