-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5906267
commit a0d4919
Showing
32 changed files
with
203 additions
and
103 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 +1,32 @@ | ||
github.com/golang/protobuf/proto | ||
#!/bin/bash | ||
|
||
#github.com/golang/protobuf/proto | ||
#TODO go get first | ||
|
||
echo "build and install library" | ||
|
||
cd ./src/bitbotlib | ||
go install | ||
|
||
echo "build and install console" | ||
cd ../console | ||
go install | ||
|
||
echo "build and install robot" | ||
cd ../robot | ||
go install | ||
|
||
echo "copy files to bin folder" | ||
cd ../../bin | ||
mv console ../dist/ | ||
mv robot ../dist/ | ||
|
||
echo "back to original folder" | ||
cd .. | ||
|
||
echo "Build websites" | ||
cd hugo | ||
|
||
source deploy.sh | ||
|
||
echo "Done." |
Binary file not shown.
Binary file not shown.
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,10 +1,8 @@ | ||
#!/bin/sh | ||
#!/bin/bash | ||
|
||
cd ../public && | ||
rm -rf * && | ||
cd ../hugo && | ||
hugo && | ||
cd ../public | ||
rm -rf * | ||
cd ../hugo | ||
hugo | ||
rsync -avz -e "ssh -i ~/.ssh/kp-xak5varz" --progress ~/code/bitbot/public/ [email protected]:/home/tong/bitbot.com.cn/ | ||
|
||
exit 0 | ||
|
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
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
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
Oops, something went wrong.