加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 919 Bytes
一键复制 编辑 原始数据 按行查看 历史
Igor Machado 提交于 2019-08-29 22:00 . improved invoke script
projects_folder=spec
all: cpp
valgrind ./$(projects_folder)/cpp/build/app_test
# (cd ~/go/src/github.com/NeoResearch/libbft && dep ensure && go run main.go)
cpp:
#export BFTEVENTS=`pwd`/spec/cpp/src/bftevents-grpc
(mkdir -p $(projects_folder)/cpp/build && cd $(projects_folder)/cpp/build && cmake .. && make)
cpp_test: cpp
@echo "Performing basic tests now"
@echo
(cd $(projects_folder)/cpp/build/tests && make test)
go:
(cd ~/go/src/github.com/NeoResearch/libbft && dep ensure && go build *.go)
go_test: go
(cd ~/go/src/github.com/NeoResearch/libbft && go test ./...)
csharp:
(cd $(projects_folder)/csharp && dotnet build)
test: cpp_test
@echo
@echo "Generating coverage (see tests/reports/)"
@echo
#(cd tests && make test-coverage)
@echo
@echo "Performing hard tests now... this will take a while!"
@echo
#(cd tests && make test-hard)
clean:
(cd $(projects_folder)/cpp/build && make clean)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化