diff --git a/Makefile b/Makefile index b009722..2e78abe 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,12 @@ VERSION=$(shell git describe --tags --always) .PHONY: build_all # build build_all: - rm -rf bin && mkdir bin bin/linux-amd64 bin/linux-arm64 bin/darwin-amd64 bin/darwin-arm64 \ + rm -rf bin && mkdir bin bin/linux-amd64 bin/linux-arm64 bin/darwin-amd64 bin/darwin-arm64 bin/windows-amd64\ && CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-X 'main.Version=$(VERSION)'" -o ./bin/darwin-arm64/ ./... \ && CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-X 'main.Version=$(VERSION)'" -o ./bin/darwin-amd64/ ./... \ && CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "-X 'main.Version=$(VERSION)'" -o ./bin/linux-arm64/ ./... \ - && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X 'main.Version=$(VERSION)'" -o ./bin/linux-amd64/ ./... + && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X 'main.Version=$(VERSION)'" -o ./bin/linux-amd64/ ./... \ + && CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-X 'main.Version=$(VERSION)'" -o ./bin/windows-amd64/ ./... .PHONY: build # build diff --git a/cmd/crawlergo/flag.go b/cmd/crawlergo/flag.go index a32ea3e..39afc61 100644 --- a/cmd/crawlergo/flag.go +++ b/cmd/crawlergo/flag.go @@ -2,9 +2,7 @@ package main import ( "fmt" - "github.com/Qianlitp/crawlergo/pkg/config" - "github.com/urfave/cli/v2" ) @@ -16,7 +14,7 @@ var cliFlags = []cli.Flag{ SetFilterMod(), SetOutputMode(), SetOutputJSON(), - SetIgcognitoContext(), + //SetIgcognitoContext(), SetMaxTabCount(), SetFuzzPath(), SetFuzzPathDict(),