sh
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
src
|
src
|
||||||
pkg
|
pkg
|
||||||
|
bin2
|
||||||
bin/i18n
|
bin/i18n
|
||||||
bin/release
|
bin/release
|
||||||
bin/tmp
|
bin/tmp
|
||||||
|
@ -14,7 +14,9 @@ export GOPATH=$GOPATH:$SCRIPTPATH
|
|||||||
# run
|
# run
|
||||||
osName=`uname`
|
osName=`uname`
|
||||||
if [ $osName == "Darwin" ]; then
|
if [ $osName == "Darwin" ]; then
|
||||||
|
chmod 777 "$SCRIPTPATH/leanote-mac"
|
||||||
"$SCRIPTPATH/leanote-mac" -importPath github.com/leanote/leanote
|
"$SCRIPTPATH/leanote-mac" -importPath github.com/leanote/leanote
|
||||||
else
|
else
|
||||||
|
chmod 777 "$SCRIPTPATH/leanote-linux"
|
||||||
"$SCRIPTPATH/leanote-linux" -importPath github.com/leanote/leanote
|
"$SCRIPTPATH/leanote-linux" -importPath github.com/leanote/leanote
|
||||||
fi
|
fi
|
Reference in New Issue
Block a user