1 Star 0 Fork 4

programlife555/xuperchain

forked from xuper/xuperchain 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 727 Bytes
一键复制 编辑 原始数据 按行查看 历史
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) ./build.sh
test:
go test -cover ./...
# test wasm sdk
GOOS=js GOARCH=wasm go build github.com/xuperchain/xuperchain/core/contractsdk/go/driver
cd core/xvm/spectest && go run main.go core
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/cyrs/xuperchain.git
[email protected]:cyrs/xuperchain.git
cyrs
xuperchain
xuperchain
master

搜索帮助