Skip to content

Commit 524b8ee

Browse files
committed
fix flag SetIgcognitoContext undefined.
1 parent 5bd29ce commit 524b8ee

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ VERSION=$(shell git describe --tags --always)
33
.PHONY: build_all
44
# build
55
build_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

cmd/crawlergo/flag.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ package main
22

33
import (
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(),

0 commit comments

Comments
 (0)