This commit is contained in:
life
2014-05-07 16:14:34 +08:00
parent ba88a1ef9e
commit 86746d292a
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
src
pkg
bin2
bin/i18n
bin/release
bin/tmp

View File

@ -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