1 Star 0 Fork 35

bytehash/XuperChain

forked from 百度开源/XuperChain 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 733 Bytes
一键复制 编辑 原始数据 按行查看 历史
fanbingxin 提交于 2020-07-13 16:12 . xvm: remove wasm spec test (#871)
ifeq ($(OS),Windows_NT)
PLATFORM="Windows"
else
ifeq ($(shell uname),Darwin)
PLATFORM="MacOS"
else
PLATFORM="Linux"
endif
endif
all: build
export GO111MODULE=on
export GOFLAGS=-mod=vendor
XCHAIN_ROOT := ${PWD}/core
export XCHAIN_ROOT
PATH := ${PWD}/core/xvm/compile/wabt/build:$(PATH)
build:
PLATFORM=$(PLATFORM) ./core/scripts/build.sh
test:
go test -coverprofile=coverage.txt -covermode=atomic ./...
# test wasm sdk
GOOS=js GOARCH=wasm go build github.com/xuperchain/xuperchain/core/contractsdk/go/driver
contractsdk:
make -C core/contractsdk/cpp build
make -C core/contractsdk/cpp test
clean:
rm -rf output
rm -f xchain-cli
rm -f xchain
rm -f dump_chain
rm -f event_client
.PHONY: all test clean
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/hhbzou/xuperchain.git
git@gitee.com:hhbzou/xuperchain.git
hhbzou
xuperchain
XuperChain
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385