github.com/consensys/gnark@v0.11.0/.gotestfmt/downloads.gotpl (about)

     1  {{- /*gotype: github.com/gotesttools/gotestfmt/v2/parser.Downloads*/ -}}
     2  {{- /*
     3  This template contains the format for a package download.
     4  */ -}}
     5  {{- $settings := .Settings -}}
     6  {{- if or .Packages .Reason -}}
     7      {{- if or (not .Settings.HideSuccessfulDownloads) .Failed -}}
     8          {{- if .Failed -}}
     9              ❌
    10          {{- else -}}
    11              📥
    12          {{- end -}}
    13          {{ " " }} Dependency downloads
    14          {{ "\n" -}}
    15  
    16          {{- range .Packages -}}
    17              {{- if or (not $settings.HideSuccessfulDownloads) .Failed -}}
    18                  {{- "   " -}}
    19                  {{- if .Failed -}}
    20                      ❌
    21                  {{- else -}}
    22                      📦
    23                  {{- end -}}
    24                  {{- " " -}}
    25                  {{- .Package }} {{ .Version -}}
    26                  {{- "\n" -}}
    27                  {{ with .Reason -}}
    28                      {{- "     " -}}{{ . -}}{{ "\n" -}}
    29                  {{- end -}}
    30              {{- end -}}
    31          {{- end -}}
    32          {{- with .Reason -}}
    33          {{- "   " -}}🛑 {{ . }}{{ "\n" -}}
    34          {{- end -}}
    35      {{- end -}}
    36  {{- end -}}