1 Star 0 Fork 0

OnlyVersion/ethr

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 702 Bytes
一键复制 编辑 原始数据 按行查看 历史
Pankaj Garg 提交于 2018-12-18 23:56 +08:00 . Change Ethr -> ethr (#52)
#!make
#-----------------------------------------------------------------------------
# Copyright (C) Microsoft. All rights reserved.
# Licensed under the MIT license.
# See LICENSE.txt file in the project root for full license information.
#-----------------------------------------------------------------------------
GO_BIN ?= go
GO_LINT ?= golint
GO_FMT ?= gofmt
BINARY_NAME ?= ethr
.PHONY: fmt
fmt:
find . -name '*.go' | \
while read -r file; \
do $(GO_FMT) -w -s "$$file"; \
done
.PHONY: build-docker
build-docker:
$(GO_BIN) build -o /out/$(BINARY_NAME)
.PHONY: build
build:
$(GO_BIN) build -o $(BINARY_NAME) .
.PHONY: lint
lint:
$(GO_LINT) .
.DEFAULT_GOAL := build
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/OnlyVersion/ethr.git
git@gitee.com:OnlyVersion/ethr.git
OnlyVersion
ethr
ethr
master

搜索帮助