File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ VERSION=$(shell git describe --tags --always)
33.PHONY : build_all
44# build
55build_all :
6- rm -rf bin && mkdir bin bin/linux-amd64 bin/linux-arm64 bin/darwin-amd64 bin/darwin-arm64 \
6+ rm -rf bin && mkdir bin bin/linux-amd64 bin/linux-arm64 bin/darwin-amd64 bin/darwin-arm64 bin/windows-amd64 \
77 && CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags " -X 'main.Version=$( VERSION) '" -o ./bin/darwin-arm64/ ./... \
88 && CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags " -X 'main.Version=$( VERSION) '" -o ./bin/darwin-amd64/ ./... \
99 && CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags " -X 'main.Version=$( VERSION) '" -o ./bin/linux-arm64/ ./... \
10- && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags " -X 'main.Version=$( VERSION) '" -o ./bin/linux-amd64/ ./...
10+ && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags " -X 'main.Version=$( VERSION) '" -o ./bin/linux-amd64/ ./... \
11+ && CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags " -X 'main.Version=$( VERSION) '" -o ./bin/windows-amd64/ ./...
1112
1213.PHONY : build
1314# build
Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ package main
22
33import (
44 "fmt"
5-
65 "github.com/Qianlitp/crawlergo/pkg/config"
7-
86 "github.com/urfave/cli/v2"
97)
108
@@ -16,7 +14,7 @@ var cliFlags = []cli.Flag{
1614 SetFilterMod (),
1715 SetOutputMode (),
1816 SetOutputJSON (),
19- SetIgcognitoContext (),
17+ // SetIgcognitoContext(),
2018 SetMaxTabCount (),
2119 SetFuzzPath (),
2220 SetFuzzPathDict (),
You can’t perform that action at this time.
0 commit comments