Skip to content

Commit

Permalink
add build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
siovanus committed Sep 19, 2023
1 parent 405c905 commit 26a852a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ build
chains
test
temp
code
logs
.DS_Store
*.xls
*.xlsx
zion-test
zion-test
clean_db
distribute-check
wizard
geth
24 changes: 24 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
rm -rf code
mkdir code
cd code
git clone https://github.com/polynetwork/Zion.git
cd Zion
make geth
cp build/bin/geth ../../
cd ..
git clone https://github.com/siovanus/distribute-check.git
cd distribute-check
go build -o distribute-check
cp distribute-check ../../
cd ..
git clone https://github.com/siovanus/clean_db.git
cd clean_db
go build -o clean_db
cp clean_db ../../
cd ..
git clone https://github.com/devfans/wizard.git
cd wizard
go build -o wizard
cp wizard /usr/local/bin
cd ../../
go build -o zion-test

0 comments on commit 26a852a

Please sign in to comment.