Skip to content

Commit

Permalink
调整编译脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
lianxiangcloud committed Jun 12, 2019
1 parent 6c1388a commit 28fb7ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build.sh
Expand Up @@ -8,6 +8,7 @@ tendermint=${ROOTDIR}/tendermint/tendermint

pack=pack
packfile=lk-chain
tarfile=lk-chain-linux-x64.tar.gz
packdst=pack/$packfile

if [ ! -e $BIN ]; then
Expand Down Expand Up @@ -90,7 +91,7 @@ function do_pack()
cp tools/genesis.json $packdst/data
cp ethermint_init_satate/state.db_20190510.tar.gz $packdst/data/state.db.tar.gz

cd pack ; tar zcf $packfile.tar.gz $packfile ; echo "done $packdst.tar.gz";
cd pack ; tar zcf $tarfile $packfile ; echo "done $tarfile";
}

function main()
Expand Down
2 changes: 1 addition & 1 deletion tendermint/ethermint/Makefile
Expand Up @@ -10,7 +10,7 @@ all: install test

#install: get_vendor_deps
install:
@go install \
@GOOS=linux GOARCH=amd64 go install \
--ldflags "-X github.com/tendermint/ethermint/version.GitCommit=`git rev-parse HEAD`" \
./cmd/ethermint

Expand Down
2 changes: 1 addition & 1 deletion tendermint/tendermint/Makefile
Expand Up @@ -28,7 +28,7 @@ dist:
@BUILD_TAGS='$(BUILD_TAGS)' sh -c "'$(CURDIR)/scripts/dist.sh'"

install:
go install $(BUILD_FLAGS) ./cmd/tendermint
GOOS=linux GOARCH=amd64 go install $(BUILD_FLAGS) ./cmd/tendermint


########################################
Expand Down

0 comments on commit 28fb7ab

Please sign in to comment.