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