mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
289b30715d
This commit converts the dependency management from Godeps to the vendor folder, also switching the tool from godep to trash. Since the upstream tool lacks a few features proposed via a few PRs, until those PRs are merged in (if), use github.com/karalabe/trash. You can update dependencies via trash --update. All dependencies have been updated to their latest version. Parts of the build system are reworked to drop old notions of Godeps and invocation of the go vet command so that it doesn't run against the vendor folder, as that will just blow up during vetting. The conversion drops OpenCL (and hence GPU mining support) from ethash and our codebase. The short reasoning is that there's noone to maintain and having opencl libs in our deps messes up builds as go install ./... tries to build them, failing with unsatisfied link errors for the C OpenCL deps. golang.org/x/net/context is not vendored in. We expect it to be fetched by the user (i.e. using go get). To keep ci.go builds reproducible the package is "vendored" in build/_vendor.
23 lines
880 B
Plaintext
23 lines
880 B
Plaintext
This repository holds supplementary Go libraries for text processing, many involving Unicode.
|
|
|
|
To submit changes to this repository, see http://golang.org/doc/contribute.html.
|
|
|
|
To generate the tables in this repository (except for the encoding tables),
|
|
run go generate from this directory. By default tables are generated for the
|
|
Unicode version in core and the CLDR version defined in
|
|
golang.org/x/text/unicode/cldr.
|
|
|
|
Running go generate will as a side effect create a DATA subdirectory in this
|
|
directory which holds all files that are used as a source for generating the
|
|
tables. This directory will also serve as a cache.
|
|
|
|
Run
|
|
|
|
go test ./...
|
|
|
|
from this directory to run all tests. Add the "-tags icu" flag to also run
|
|
ICU conformance tests (if available). This requires that you have the correct
|
|
ICU version installed on your system.
|
|
|
|
TODO:
|
|
- updating unversioned source files. |