update at 2019-10-08 17:47:33 by ehlxr
This commit is contained in:
parent
daee642670
commit
3c5fcf90a7
7
Makefile
7
Makefile
@ -29,9 +29,16 @@ install:
|
|||||||
@# go install -ldflags $(LD_FLAGS)
|
@# go install -ldflags $(LD_FLAGS)
|
||||||
go build -ldflags $(LD_FLAGS) -o $(GOBIN)/hc
|
go build -ldflags $(LD_FLAGS) -o $(GOBIN)/hc
|
||||||
|
|
||||||
|
# 如果一个规则是以 .IGNORE 作为目标的,那么这个规则中所有命令都将会忽略错误
|
||||||
|
.IGNORE:
|
||||||
|
upx
|
||||||
|
|
||||||
# 压缩。需要安装 https://github.com/upx/upx
|
# 压缩。需要安装 https://github.com/upx/upx
|
||||||
upx:
|
upx:
|
||||||
|
@# 在命令前面加上“-”,表示不管该命令出不出错,后面的命令都将继续执行下去
|
||||||
|
@# -upx $(DIST_DIR)**
|
||||||
upx $(DIST_DIR)**
|
upx $(DIST_DIR)**
|
||||||
|
echo "sdfs"
|
||||||
|
|
||||||
release: build upx
|
release: build upx
|
||||||
ifneq ($(shell type ghr >/dev/null 2>&1;echo $$?), 0)
|
ifneq ($(shell type ghr >/dev/null 2>&1;echo $$?), 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user