Skip to content

Commit

Permalink
优化Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowabi committed Apr 18, 2024
1 parent 00af3f7 commit e4e1da6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ BUILD_DIR = bin
default: build

build:
go mod tidy
env CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build $(BUILD_FLAG) -o $(BUILD_DIR)/AutoDomain.exe main/main.go
env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build $(BUILD_FLAG) -o $(BUILD_DIR)/AutoDomain main/main.go

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ hunter API参考自https://github.com/W01fh4cker/hunter-to-excel/

## 安装

下载release中的文件
下载release中的二进制文件使用

使用Makefile进行编译
或使用Makefile进行编译二进制文件后使用


## 配置
Expand Down

0 comments on commit e4e1da6

Please sign in to comment.