go /
text /
17805e727fefcecf0c7c1ebadc81166a740899eb internal/gen: use fixed DATA directory for cache
Have a fixed default DATA directory to hold Unicode data.
The goal is to make maintaining and doing development on
the text repo more accessible by eliminating the need to set up
the data directory.
The DATA dir will automatically be created when the user uses
go generate. Tests will automatically use the “long” mode when
this DATA dir is present, causing files tobe loaded at most once.
Change-Id: I69e2369fc5ae5d883208ff3f1cc2e7ad5b4371a8
Reviewed-on: https://go-review.googlesource.com/29178
Run-TryBot: Marcel van Lohuizen <mpvl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Nigel Tao <nigeltao@golang.org>
4 files changed