github.com/consensys/gnark-crypto@v0.14.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 ::group:: 9 {{- if .Failed -}} 10 {{ "\033" }}[0;31m❌ 11 {{- else -}} 12 {{ "\033" }}[0;34m📥 13 {{- end -}} 14 {{ " " }}Dependency downloads 15 {{- "\033" }}[0m{{ "\n" -}} 16 17 {{- range .Packages -}} 18 {{- if or (not $settings.HideSuccessfulDownloads) .Failed -}} 19 {{- " " -}} 20 {{- if .Failed -}} 21 {{ "\033" }}[0;31m❌ 22 {{- else -}} 23 📦 24 {{- end -}} 25 {{- " " -}} 26 {{- .Package }} {{ .Version -}} 27 {{- "\033" }}[0m 28 {{- "\n" -}} 29 {{ with .Reason -}} 30 {{- " " -}}{{ . -}}{{ "\n" -}} 31 {{- end -}} 32 {{- end -}} 33 {{- end -}} 34 {{- with .Reason -}} 35 {{- " " -}}{{- "\033" }}[0;31m🛑 {{ . }}{{- "\033" }}[0m{{ "\n" -}} 36 {{- end -}} 37 ::endgroup:: 38 {{- end -}} 39 {{- end -}}