开发者

Compile Go tip with extra packages

I'd like to try out the exp/regexp package. Currently Go tip's ./all.bash command compiles including only exp/regexp/syntax. I've been looking around the makefiles and I see it builds a Make.deps but couldn't figure out how it selects the packages that开发者_JS百科 are included. What should I change to build Go with exp/regexp?


Duh, it was right in front of my eyes! Add the package dir to src/pkg/Makefile:

DIRS=\
    archive/tar\
    archive/zip\
    asn1\
    ...
    exp/regexp\
    ...
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜