aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/spf13/cobra/ya.make
blob: 8f9487ea09ef3cf4cc94bf0005263112ea0321fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
GO_LIBRARY()

LICENSE(Apache-2.0)

SRCS(
    active_help.go
    args.go
    bash_completions.go
    bash_completionsV2.go
    cobra.go
    command.go
    completions.go
    fish_completions.go
    flag_groups.go
    powershell_completions.go
    shell_completions.go
    zsh_completions.go
)

GO_TEST_SRCS(
    active_help_test.go
    args_test.go
    bash_completionsV2_test.go
    bash_completions_test.go
    cobra_test.go
    command_test.go
    completions_test.go
    fish_completions_test.go
    flag_groups_test.go
    powershell_completions_test.go
    zsh_completions_test.go
)

IF (OS_LINUX)
    SRCS(command_notwin.go)
ENDIF()

IF (OS_DARWIN)
    SRCS(command_notwin.go)
ENDIF()

IF (OS_WINDOWS)
    SRCS(command_win.go)
ENDIF()

END()

RECURSE(
    #cobra disabled because of dependency on viper
    #doc disabled because of broken dependency
    gotest
)