vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood 2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537057 additions and 189681 deletions

View file

@ -13,12 +13,13 @@ import (
"io"
"log"
"reflect"
"sort"
"strings"
"unicode"
"golang.org/x/text/collate"
"golang.org/x/text/internal/gen"
"golang.org/x/text/internal/ucd"
"golang.org/x/text/language"
"golang.org/x/text/unicode/rangetable"
)
@ -37,8 +38,9 @@ func getVersions() []string {
log.Fatal(bootstrapMessage)
}
c := collate.New(language.Und, collate.Numeric)
versions := strings.Split(*versionList, ",")
sort.Strings(versions)
c.SortStrings(versions)
// Ensure that at least the current version is included.
for _, v := range versions {
@ -48,7 +50,7 @@ func getVersions() []string {
}
versions = append(versions, gen.UnicodeVersion())
sort.Strings(versions)
c.SortStrings(versions)
return versions
}