mirror of
https://github.com/golang/go
synced 2024-11-21 17:24:42 -07:00
go/doc: move CommentText to ast.CommentGroup's Text method
Now only godoc imports go/doc. R=gri CC=golang-dev https://golang.org/cl/5541045
This commit is contained in:
parent
6f77cd2914
commit
f0f6aa59cc
@ -369,48 +369,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.8
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/darwin_386/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
8g -o "$WORK"/text/tabwriter/_obj/_go_.8 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/darwin_386/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/darwin_386/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
8g -o "$WORK"/go/printer/_obj/_go_.8 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.8
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/darwin_386/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/darwin_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/darwin_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/darwin_386/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -422,48 +380,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/darwin_386/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/darwin_386/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/darwin_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/darwin_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/darwin_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/darwin_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/darwin_386/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
8g -o "$WORK"/go/doc/_obj/_go_.8 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.8
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/darwin_386/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -505,6 +421,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.8
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/darwin_386/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/darwin_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/darwin_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/darwin_386/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -515,6 +452,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.8
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/darwin_386/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/darwin_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/darwin_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/darwin_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/darwin_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/darwin_386/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/darwin_386/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -368,48 +368,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.6
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/darwin_amd64/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
6g -o "$WORK"/text/tabwriter/_obj/_go_.6 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/darwin_amd64/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/darwin_amd64/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
6g -o "$WORK"/go/printer/_obj/_go_.6 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.6
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/darwin_amd64/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
6g -o "$WORK"/regexp/syntax/_obj/_go_.6 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/darwin_amd64/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/darwin_amd64/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
6g -o "$WORK"/regexp/_obj/_go_.6 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.6
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/darwin_amd64/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -421,48 +379,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/darwin_amd64/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/darwin_amd64/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
6g -o "$WORK"/net/url/_obj/_go_.6 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/darwin_amd64/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/darwin_amd64/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
6g -o "$WORK"/text/template/parse/_obj/_go_.6 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/darwin_amd64/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/darwin_amd64/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
6g -o "$WORK"/text/template/_obj/_go_.6 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.6
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/darwin_amd64/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
6g -o "$WORK"/go/doc/_obj/_go_.6 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.6
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/darwin_amd64/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -504,6 +420,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.6
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/darwin_amd64/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
6g -o "$WORK"/regexp/syntax/_obj/_go_.6 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/darwin_amd64/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/darwin_amd64/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
6g -o "$WORK"/regexp/_obj/_go_.6 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.6
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/darwin_amd64/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -514,6 +451,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.6
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/darwin_amd64/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
6g -o "$WORK"/net/url/_obj/_go_.6 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/darwin_amd64/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/darwin_amd64/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
6g -o "$WORK"/text/template/parse/_obj/_go_.6 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/darwin_amd64/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/darwin_amd64/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
6g -o "$WORK"/text/template/_obj/_go_.6 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/darwin_amd64/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/darwin_amd64/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -369,48 +369,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.8
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/freebsd_386/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
8g -o "$WORK"/text/tabwriter/_obj/_go_.8 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_386/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/freebsd_386/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
8g -o "$WORK"/go/printer/_obj/_go_.8 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.8
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/freebsd_386/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/freebsd_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/freebsd_386/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -422,48 +380,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_386/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/freebsd_386/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/freebsd_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/freebsd_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/freebsd_386/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
8g -o "$WORK"/go/doc/_obj/_go_.8 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.8
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/freebsd_386/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -505,6 +421,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.8
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/freebsd_386/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/freebsd_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/freebsd_386/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -515,6 +452,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.8
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/freebsd_386/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/freebsd_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/freebsd_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_386/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/freebsd_386/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -368,48 +368,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.6
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/freebsd_amd64/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
6g -o "$WORK"/text/tabwriter/_obj/_go_.6 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_amd64/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/freebsd_amd64/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
6g -o "$WORK"/go/printer/_obj/_go_.6 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.6
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/freebsd_amd64/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
6g -o "$WORK"/regexp/syntax/_obj/_go_.6 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_amd64/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/freebsd_amd64/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
6g -o "$WORK"/regexp/_obj/_go_.6 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.6
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/freebsd_amd64/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -421,48 +379,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_amd64/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/freebsd_amd64/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
6g -o "$WORK"/net/url/_obj/_go_.6 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_amd64/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/freebsd_amd64/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
6g -o "$WORK"/text/template/parse/_obj/_go_.6 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_amd64/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/freebsd_amd64/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
6g -o "$WORK"/text/template/_obj/_go_.6 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.6
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/freebsd_amd64/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
6g -o "$WORK"/go/doc/_obj/_go_.6 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.6
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/freebsd_amd64/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -504,6 +420,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.6
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/freebsd_amd64/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
6g -o "$WORK"/regexp/syntax/_obj/_go_.6 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_amd64/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/freebsd_amd64/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
6g -o "$WORK"/regexp/_obj/_go_.6 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.6
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/freebsd_amd64/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -514,6 +451,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.6
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/freebsd_amd64/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
6g -o "$WORK"/net/url/_obj/_go_.6 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_amd64/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/freebsd_amd64/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
6g -o "$WORK"/text/template/parse/_obj/_go_.6 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_amd64/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/freebsd_amd64/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
6g -o "$WORK"/text/template/_obj/_go_.6 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/freebsd_amd64/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/freebsd_amd64/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -369,48 +369,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.8
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/linux_386/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
8g -o "$WORK"/text/tabwriter/_obj/_go_.8 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/linux_386/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/linux_386/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
8g -o "$WORK"/go/printer/_obj/_go_.8 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.8
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/linux_386/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/linux_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/linux_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/linux_386/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -422,48 +380,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/linux_386/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/linux_386/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/linux_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/linux_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/linux_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/linux_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/linux_386/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
8g -o "$WORK"/go/doc/_obj/_go_.8 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.8
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/linux_386/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -505,6 +421,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.8
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/linux_386/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/linux_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/linux_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/linux_386/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -515,6 +452,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.8
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/linux_386/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/linux_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/linux_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/linux_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/linux_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/linux_386/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/linux_386/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -368,48 +368,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.6
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/linux_amd64/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
6g -o "$WORK"/text/tabwriter/_obj/_go_.6 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/linux_amd64/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/linux_amd64/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
6g -o "$WORK"/go/printer/_obj/_go_.6 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.6
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/linux_amd64/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
6g -o "$WORK"/regexp/syntax/_obj/_go_.6 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/linux_amd64/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/linux_amd64/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
6g -o "$WORK"/regexp/_obj/_go_.6 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.6
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/linux_amd64/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -421,48 +379,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/linux_amd64/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/linux_amd64/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
6g -o "$WORK"/net/url/_obj/_go_.6 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/linux_amd64/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/linux_amd64/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
6g -o "$WORK"/text/template/parse/_obj/_go_.6 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/linux_amd64/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/linux_amd64/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
6g -o "$WORK"/text/template/_obj/_go_.6 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.6
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/linux_amd64/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
6g -o "$WORK"/go/doc/_obj/_go_.6 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.6
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/linux_amd64/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -504,6 +420,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.6
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/linux_amd64/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
6g -o "$WORK"/regexp/syntax/_obj/_go_.6 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/linux_amd64/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/linux_amd64/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
6g -o "$WORK"/regexp/_obj/_go_.6 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.6
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/linux_amd64/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -514,6 +451,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.6
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/linux_amd64/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
6g -o "$WORK"/net/url/_obj/_go_.6 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/linux_amd64/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/linux_amd64/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
6g -o "$WORK"/text/template/parse/_obj/_go_.6 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/linux_amd64/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/linux_amd64/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
6g -o "$WORK"/text/template/_obj/_go_.6 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/linux_amd64/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/linux_amd64/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -372,48 +372,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.5
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/linux_arm/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
5g -o "$WORK"/text/tabwriter/_obj/_go_.5 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.5
|
||||
mkdir -p "$GOROOT"/pkg/linux_arm/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/linux_arm/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
5g -o "$WORK"/go/printer/_obj/_go_.5 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.5
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/linux_arm/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
5g -o "$WORK"/regexp/syntax/_obj/_go_.5 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.5
|
||||
mkdir -p "$GOROOT"/pkg/linux_arm/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/linux_arm/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
5g -o "$WORK"/regexp/_obj/_go_.5 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.5
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/linux_arm/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -425,48 +383,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.5
|
||||
mkdir -p "$GOROOT"/pkg/linux_arm/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/linux_arm/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
5g -o "$WORK"/net/url/_obj/_go_.5 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.5
|
||||
mkdir -p "$GOROOT"/pkg/linux_arm/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/linux_arm/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
5g -o "$WORK"/text/template/parse/_obj/_go_.5 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.5
|
||||
mkdir -p "$GOROOT"/pkg/linux_arm/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/linux_arm/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
5g -o "$WORK"/text/template/_obj/_go_.5 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.5
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/linux_arm/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
5g -o "$WORK"/go/doc/_obj/_go_.5 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.5
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/linux_arm/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -508,6 +424,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.5
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/linux_arm/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
5g -o "$WORK"/regexp/syntax/_obj/_go_.5 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.5
|
||||
mkdir -p "$GOROOT"/pkg/linux_arm/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/linux_arm/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
5g -o "$WORK"/regexp/_obj/_go_.5 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.5
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/linux_arm/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -518,6 +455,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.5
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/linux_arm/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
5g -o "$WORK"/net/url/_obj/_go_.5 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.5
|
||||
mkdir -p "$GOROOT"/pkg/linux_arm/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/linux_arm/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
5g -o "$WORK"/text/template/parse/_obj/_go_.5 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.5
|
||||
mkdir -p "$GOROOT"/pkg/linux_arm/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/linux_arm/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
5g -o "$WORK"/text/template/_obj/_go_.5 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.5
|
||||
mkdir -p "$GOROOT"/pkg/linux_arm/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/linux_arm/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -369,48 +369,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.8
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/netbsd_386/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
8g -o "$WORK"/text/tabwriter/_obj/_go_.8 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_386/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/netbsd_386/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
8g -o "$WORK"/go/printer/_obj/_go_.8 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.8
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/netbsd_386/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/netbsd_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/netbsd_386/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -422,48 +380,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_386/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/netbsd_386/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/netbsd_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/netbsd_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/netbsd_386/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
8g -o "$WORK"/go/doc/_obj/_go_.8 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.8
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/netbsd_386/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -505,6 +421,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.8
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/netbsd_386/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/netbsd_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/netbsd_386/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -515,6 +452,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.8
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/netbsd_386/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/netbsd_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/netbsd_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_386/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/netbsd_386/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -368,48 +368,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.6
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/netbsd_amd64/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
6g -o "$WORK"/text/tabwriter/_obj/_go_.6 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_amd64/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/netbsd_amd64/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
6g -o "$WORK"/go/printer/_obj/_go_.6 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.6
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/netbsd_amd64/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
6g -o "$WORK"/regexp/syntax/_obj/_go_.6 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_amd64/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/netbsd_amd64/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
6g -o "$WORK"/regexp/_obj/_go_.6 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.6
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/netbsd_amd64/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -421,48 +379,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_amd64/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/netbsd_amd64/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
6g -o "$WORK"/net/url/_obj/_go_.6 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_amd64/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/netbsd_amd64/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
6g -o "$WORK"/text/template/parse/_obj/_go_.6 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_amd64/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/netbsd_amd64/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
6g -o "$WORK"/text/template/_obj/_go_.6 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.6
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/netbsd_amd64/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
6g -o "$WORK"/go/doc/_obj/_go_.6 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.6
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/netbsd_amd64/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -504,6 +420,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.6
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/netbsd_amd64/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
6g -o "$WORK"/regexp/syntax/_obj/_go_.6 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_amd64/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/netbsd_amd64/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
6g -o "$WORK"/regexp/_obj/_go_.6 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.6
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/netbsd_amd64/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -514,6 +451,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.6
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/netbsd_amd64/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
6g -o "$WORK"/net/url/_obj/_go_.6 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_amd64/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/netbsd_amd64/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
6g -o "$WORK"/text/template/parse/_obj/_go_.6 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_amd64/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/netbsd_amd64/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
6g -o "$WORK"/text/template/_obj/_go_.6 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/netbsd_amd64/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/netbsd_amd64/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -369,48 +369,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.8
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/openbsd_386/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
8g -o "$WORK"/text/tabwriter/_obj/_go_.8 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_386/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/openbsd_386/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
8g -o "$WORK"/go/printer/_obj/_go_.8 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.8
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/openbsd_386/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/openbsd_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/openbsd_386/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -422,48 +380,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_386/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/openbsd_386/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/openbsd_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/openbsd_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/openbsd_386/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
8g -o "$WORK"/go/doc/_obj/_go_.8 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.8
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/openbsd_386/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -505,6 +421,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.8
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/openbsd_386/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/openbsd_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/openbsd_386/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -515,6 +452,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.8
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/openbsd_386/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/openbsd_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/openbsd_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_386/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/openbsd_386/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -368,48 +368,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.6
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/openbsd_amd64/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
6g -o "$WORK"/text/tabwriter/_obj/_go_.6 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_amd64/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/openbsd_amd64/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
6g -o "$WORK"/go/printer/_obj/_go_.6 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.6
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/openbsd_amd64/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
6g -o "$WORK"/regexp/syntax/_obj/_go_.6 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_amd64/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/openbsd_amd64/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
6g -o "$WORK"/regexp/_obj/_go_.6 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.6
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/openbsd_amd64/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -421,48 +379,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_amd64/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/openbsd_amd64/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
6g -o "$WORK"/net/url/_obj/_go_.6 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_amd64/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/openbsd_amd64/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
6g -o "$WORK"/text/template/parse/_obj/_go_.6 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_amd64/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/openbsd_amd64/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
6g -o "$WORK"/text/template/_obj/_go_.6 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.6
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/openbsd_amd64/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
6g -o "$WORK"/go/doc/_obj/_go_.6 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.6
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/openbsd_amd64/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -504,6 +420,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.6
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/openbsd_amd64/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
6g -o "$WORK"/regexp/syntax/_obj/_go_.6 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_amd64/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/openbsd_amd64/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
6g -o "$WORK"/regexp/_obj/_go_.6 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.6
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/openbsd_amd64/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -514,6 +451,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.6
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/openbsd_amd64/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
6g -o "$WORK"/net/url/_obj/_go_.6 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_amd64/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/openbsd_amd64/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
6g -o "$WORK"/text/template/parse/_obj/_go_.6 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_amd64/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/openbsd_amd64/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
6g -o "$WORK"/text/template/_obj/_go_.6 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/openbsd_amd64/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/openbsd_amd64/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -369,48 +369,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.8
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/plan9_386/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
8g -o "$WORK"/text/tabwriter/_obj/_go_.8 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/plan9_386/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/plan9_386/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
8g -o "$WORK"/go/printer/_obj/_go_.8 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.8
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/plan9_386/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/plan9_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/plan9_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/plan9_386/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -422,48 +380,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/plan9_386/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/plan9_386/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/plan9_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/plan9_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/plan9_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/plan9_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/plan9_386/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
8g -o "$WORK"/go/doc/_obj/_go_.8 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.8
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/plan9_386/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -505,6 +421,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.8
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/plan9_386/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/plan9_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/plan9_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/plan9_386/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -515,6 +452,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.8
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/plan9_386/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/plan9_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/plan9_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/plan9_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/plan9_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/plan9_386/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/plan9_386/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -371,48 +371,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.8
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/windows_386/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
8g -o "$WORK"/text/tabwriter/_obj/_go_.8 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/windows_386/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/windows_386/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
8g -o "$WORK"/go/printer/_obj/_go_.8 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.8
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/windows_386/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/windows_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/windows_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/windows_386/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -424,48 +382,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/windows_386/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/windows_386/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/windows_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/windows_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/windows_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/windows_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/windows_386/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
8g -o "$WORK"/go/doc/_obj/_go_.8 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.8
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/windows_386/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -507,6 +423,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.8
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/windows_386/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
8g -o "$WORK"/regexp/syntax/_obj/_go_.8 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/windows_386/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/windows_386/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
8g -o "$WORK"/regexp/_obj/_go_.8 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.8
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/windows_386/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -517,6 +454,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.8
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/windows_386/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
8g -o "$WORK"/net/url/_obj/_go_.8 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/windows_386/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/windows_386/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
8g -o "$WORK"/text/template/parse/_obj/_go_.8 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/windows_386/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/windows_386/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
8g -o "$WORK"/text/template/_obj/_go_.8 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.8
|
||||
mkdir -p "$GOROOT"/pkg/windows_386/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/windows_386/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -370,48 +370,6 @@ cd "$GOROOT"/src/pkg/go/ast
|
||||
gopack grc "$WORK"/go/ast.a "$WORK"/go/ast/_obj/_go_.6
|
||||
cp "$WORK"/go/ast.a "$GOROOT"/pkg/windows_amd64/go/ast.a
|
||||
|
||||
#
|
||||
# text/tabwriter
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/tabwriter/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/tabwriter
|
||||
6g -o "$WORK"/text/tabwriter/_obj/_go_.6 -p text/tabwriter -I "$WORK" ./tabwriter.go
|
||||
gopack grc "$WORK"/text/tabwriter.a "$WORK"/text/tabwriter/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/windows_amd64/text/
|
||||
cp "$WORK"/text/tabwriter.a "$GOROOT"/pkg/windows_amd64/text/tabwriter.a
|
||||
|
||||
#
|
||||
# go/printer
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/printer/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/printer
|
||||
6g -o "$WORK"/go/printer/_obj/_go_.6 -p go/printer -I "$WORK" ./nodes.go ./printer.go
|
||||
gopack grc "$WORK"/go/printer.a "$WORK"/go/printer/_obj/_go_.6
|
||||
cp "$WORK"/go/printer.a "$GOROOT"/pkg/windows_amd64/go/printer.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
6g -o "$WORK"/regexp/syntax/_obj/_go_.6 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/windows_amd64/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/windows_amd64/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
6g -o "$WORK"/regexp/_obj/_go_.6 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.6
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/windows_amd64/regexp.a
|
||||
|
||||
#
|
||||
# io/ioutil
|
||||
#
|
||||
@ -423,48 +381,6 @@ gopack grc "$WORK"/io/ioutil.a "$WORK"/io/ioutil/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/windows_amd64/io/
|
||||
cp "$WORK"/io/ioutil.a "$GOROOT"/pkg/windows_amd64/io/ioutil.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
6g -o "$WORK"/net/url/_obj/_go_.6 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/windows_amd64/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/windows_amd64/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
6g -o "$WORK"/text/template/parse/_obj/_go_.6 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/windows_amd64/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/windows_amd64/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
6g -o "$WORK"/text/template/_obj/_go_.6 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.6
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/windows_amd64/text/template.a
|
||||
|
||||
#
|
||||
# go/doc
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/go/doc/_obj/
|
||||
cd "$GOROOT"/src/pkg/go/doc
|
||||
6g -o "$WORK"/go/doc/_obj/_go_.6 -p go/doc -I "$WORK" ./comment.go ./doc.go ./example.go ./exports.go ./filter.go ./reader.go
|
||||
gopack grc "$WORK"/go/doc.a "$WORK"/go/doc/_obj/_go_.6
|
||||
cp "$WORK"/go/doc.a "$GOROOT"/pkg/windows_amd64/go/doc.a
|
||||
|
||||
#
|
||||
# go/parser
|
||||
#
|
||||
@ -506,6 +422,27 @@ cd "$GOROOT"/src/pkg/path
|
||||
gopack grc "$WORK"/path.a "$WORK"/path/_obj/_go_.6
|
||||
cp "$WORK"/path.a "$GOROOT"/pkg/windows_amd64/path.a
|
||||
|
||||
#
|
||||
# regexp/syntax
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/syntax/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp/syntax
|
||||
6g -o "$WORK"/regexp/syntax/_obj/_go_.6 -p regexp/syntax -I "$WORK" ./compile.go ./parse.go ./perl_groups.go ./prog.go ./regexp.go ./simplify.go
|
||||
gopack grc "$WORK"/regexp/syntax.a "$WORK"/regexp/syntax/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/windows_amd64/regexp/
|
||||
cp "$WORK"/regexp/syntax.a "$GOROOT"/pkg/windows_amd64/regexp/syntax.a
|
||||
|
||||
#
|
||||
# regexp
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/regexp/_obj/
|
||||
cd "$GOROOT"/src/pkg/regexp
|
||||
6g -o "$WORK"/regexp/_obj/_go_.6 -p regexp -I "$WORK" ./exec.go ./regexp.go
|
||||
gopack grc "$WORK"/regexp.a "$WORK"/regexp/_obj/_go_.6
|
||||
cp "$WORK"/regexp.a "$GOROOT"/pkg/windows_amd64/regexp.a
|
||||
|
||||
#
|
||||
# go/build
|
||||
#
|
||||
@ -516,6 +453,39 @@ cd "$GOROOT"/src/pkg/go/build
|
||||
gopack grc "$WORK"/go/build.a "$WORK"/go/build/_obj/_go_.6
|
||||
cp "$WORK"/go/build.a "$GOROOT"/pkg/windows_amd64/go/build.a
|
||||
|
||||
#
|
||||
# net/url
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/net/url/_obj/
|
||||
cd "$GOROOT"/src/pkg/net/url
|
||||
6g -o "$WORK"/net/url/_obj/_go_.6 -p net/url -I "$WORK" ./url.go
|
||||
gopack grc "$WORK"/net/url.a "$WORK"/net/url/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/windows_amd64/net/
|
||||
cp "$WORK"/net/url.a "$GOROOT"/pkg/windows_amd64/net/url.a
|
||||
|
||||
#
|
||||
# text/template/parse
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/parse/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template/parse
|
||||
6g -o "$WORK"/text/template/parse/_obj/_go_.6 -p text/template/parse -I "$WORK" ./lex.go ./node.go ./parse.go
|
||||
gopack grc "$WORK"/text/template/parse.a "$WORK"/text/template/parse/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/windows_amd64/text/template/
|
||||
cp "$WORK"/text/template/parse.a "$GOROOT"/pkg/windows_amd64/text/template/parse.a
|
||||
|
||||
#
|
||||
# text/template
|
||||
#
|
||||
|
||||
mkdir -p "$WORK"/text/template/_obj/
|
||||
cd "$GOROOT"/src/pkg/text/template
|
||||
6g -o "$WORK"/text/template/_obj/_go_.6 -p text/template -I "$WORK" ./doc.go ./exec.go ./funcs.go ./helper.go ./template.go
|
||||
gopack grc "$WORK"/text/template.a "$WORK"/text/template/_obj/_go_.6
|
||||
mkdir -p "$GOROOT"/pkg/windows_amd64/text/
|
||||
cp "$WORK"/text/template.a "$GOROOT"/pkg/windows_amd64/text/template.a
|
||||
|
||||
#
|
||||
# cmd/go
|
||||
#
|
||||
|
@ -9,7 +9,6 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
"go/ast"
|
||||
"go/doc"
|
||||
"go/parser"
|
||||
"go/scanner"
|
||||
"go/token"
|
||||
@ -79,7 +78,7 @@ func (f *File) ReadGo(name string) {
|
||||
}
|
||||
if cg != nil {
|
||||
f.Preamble += fmt.Sprintf("#line %d %q\n", sourceLine(cg), name)
|
||||
f.Preamble += doc.CommentText(cg) + "\n"
|
||||
f.Preamble += cg.Text() + "\n"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,6 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
"go/build"
|
||||
"go/doc"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"sort"
|
||||
@ -130,7 +129,7 @@ func scanPackage(ctxt *build.Context, t *build.Tree, arg, importPath, dir string
|
||||
|
||||
p := &Package{
|
||||
Name: info.Package,
|
||||
Doc: doc.CommentText(info.PackageComment),
|
||||
Doc: info.PackageComment.Text(),
|
||||
ImportPath: importPath,
|
||||
Dir: dir,
|
||||
Imports: info.Imports,
|
||||
|
@ -9,7 +9,6 @@ import (
|
||||
"fmt"
|
||||
"go/ast"
|
||||
"go/build"
|
||||
"go/doc"
|
||||
"go/parser"
|
||||
"go/token"
|
||||
"os"
|
||||
@ -612,7 +611,7 @@ func (t *testFuncs) load(filename, pkg string, seen *bool) error {
|
||||
t.Benchmarks = append(t.Benchmarks, testFunc{pkg, name, ""})
|
||||
*seen = true
|
||||
case isTest(name, "Example"):
|
||||
output := doc.CommentText(n.Doc)
|
||||
output := n.Doc.Text()
|
||||
if output == "" {
|
||||
// Don't run examples with no output.
|
||||
continue
|
||||
|
@ -8,7 +8,6 @@ package main
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"go/doc"
|
||||
"go/parser"
|
||||
"go/token"
|
||||
"log"
|
||||
@ -136,7 +135,7 @@ func (b *treeBuilder) newDirTree(fset *token.FileSet, path, name string, depth i
|
||||
i = 3 // none of the above
|
||||
}
|
||||
if 0 <= i && i < len(synopses) && synopses[i] == "" {
|
||||
synopses[i] = firstSentence(doc.CommentText(file.Doc))
|
||||
synopses[i] = firstSentence(file.Doc.Text())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,6 @@ import (
|
||||
"fmt"
|
||||
"go/ast"
|
||||
"go/build"
|
||||
"go/doc"
|
||||
"go/parser"
|
||||
"go/token"
|
||||
"io/ioutil"
|
||||
@ -222,7 +221,7 @@ func getTestNames() {
|
||||
} else if isTest(name, "Benchmark") {
|
||||
f.benchmarks = append(f.benchmarks, name)
|
||||
} else if isTest(name, "Example") {
|
||||
output := doc.CommentText(n.Doc)
|
||||
output := n.Doc.Text()
|
||||
if output == "" {
|
||||
// Don't run examples with no output.
|
||||
continue
|
||||
|
@ -9,6 +9,7 @@ package ast
|
||||
|
||||
import (
|
||||
"go/token"
|
||||
"strings"
|
||||
"unicode"
|
||||
"unicode/utf8"
|
||||
)
|
||||
@ -76,6 +77,74 @@ type CommentGroup struct {
|
||||
func (g *CommentGroup) Pos() token.Pos { return g.List[0].Pos() }
|
||||
func (g *CommentGroup) End() token.Pos { return g.List[len(g.List)-1].End() }
|
||||
|
||||
func isWhitespace(ch byte) bool { return ch == ' ' || ch == '\t' || ch == '\n' || ch == '\r' }
|
||||
|
||||
func stripTrailingWhitespace(s string) string {
|
||||
i := len(s)
|
||||
for i > 0 && isWhitespace(s[i-1]) {
|
||||
i--
|
||||
}
|
||||
return s[0:i]
|
||||
}
|
||||
|
||||
// Text returns the text of the comment,
|
||||
// with the comment markers - //, /*, and */ - removed.
|
||||
func (g *CommentGroup) Text() string {
|
||||
if g == nil {
|
||||
return ""
|
||||
}
|
||||
comments := make([]string, len(g.List))
|
||||
for i, c := range g.List {
|
||||
comments[i] = string(c.Text)
|
||||
}
|
||||
|
||||
lines := make([]string, 0, 10) // most comments are less than 10 lines
|
||||
for _, c := range comments {
|
||||
// Remove comment markers.
|
||||
// The parser has given us exactly the comment text.
|
||||
switch c[1] {
|
||||
case '/':
|
||||
//-style comment
|
||||
c = c[2:]
|
||||
// Remove leading space after //, if there is one.
|
||||
// TODO(gri) This appears to be necessary in isolated
|
||||
// cases (bignum.RatFromString) - why?
|
||||
if len(c) > 0 && c[0] == ' ' {
|
||||
c = c[1:]
|
||||
}
|
||||
case '*':
|
||||
/*-style comment */
|
||||
c = c[2 : len(c)-2]
|
||||
}
|
||||
|
||||
// Split on newlines.
|
||||
cl := strings.Split(c, "\n")
|
||||
|
||||
// Walk lines, stripping trailing white space and adding to list.
|
||||
for _, l := range cl {
|
||||
lines = append(lines, stripTrailingWhitespace(l))
|
||||
}
|
||||
}
|
||||
|
||||
// Remove leading blank lines; convert runs of
|
||||
// interior blank lines to a single blank line.
|
||||
n := 0
|
||||
for _, line := range lines {
|
||||
if line != "" || n > 0 && lines[n-1] != "" {
|
||||
lines[n] = line
|
||||
n++
|
||||
}
|
||||
}
|
||||
lines = lines[0:n]
|
||||
|
||||
// Add final "" entry to get trailing newline from Join.
|
||||
if n > 0 && lines[n-1] != "" {
|
||||
lines = append(lines, "")
|
||||
}
|
||||
|
||||
return strings.Join(lines, "\n")
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Expressions and types
|
||||
|
||||
|
@ -9,7 +9,6 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"go/ast"
|
||||
"go/doc"
|
||||
"go/parser"
|
||||
"go/token"
|
||||
"io/ioutil"
|
||||
@ -412,7 +411,7 @@ func (ctxt *Context) shouldBuild(content []byte) bool {
|
||||
// TODO(rsc): This duplicates code in cgo.
|
||||
// Once the dust settles, remove this code from cgo.
|
||||
func (ctxt *Context) saveCgo(filename string, di *DirInfo, cg *ast.CommentGroup) error {
|
||||
text := doc.CommentText(cg)
|
||||
text := cg.Text()
|
||||
for _, line := range strings.Split(text, "\n") {
|
||||
orig := line
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
package doc
|
||||
|
||||
import (
|
||||
"go/ast"
|
||||
"io"
|
||||
"regexp"
|
||||
"strings"
|
||||
@ -16,74 +15,6 @@ import (
|
||||
"unicode/utf8"
|
||||
)
|
||||
|
||||
func isWhitespace(ch byte) bool { return ch == ' ' || ch == '\t' || ch == '\n' || ch == '\r' }
|
||||
|
||||
func stripTrailingWhitespace(s string) string {
|
||||
i := len(s)
|
||||
for i > 0 && isWhitespace(s[i-1]) {
|
||||
i--
|
||||
}
|
||||
return s[0:i]
|
||||
}
|
||||
|
||||
// CommentText returns the text of comment,
|
||||
// with the comment markers - //, /*, and */ - removed.
|
||||
func CommentText(comment *ast.CommentGroup) string {
|
||||
if comment == nil {
|
||||
return ""
|
||||
}
|
||||
comments := make([]string, len(comment.List))
|
||||
for i, c := range comment.List {
|
||||
comments[i] = string(c.Text)
|
||||
}
|
||||
|
||||
lines := make([]string, 0, 10) // most comments are less than 10 lines
|
||||
for _, c := range comments {
|
||||
// Remove comment markers.
|
||||
// The parser has given us exactly the comment text.
|
||||
switch c[1] {
|
||||
case '/':
|
||||
//-style comment
|
||||
c = c[2:]
|
||||
// Remove leading space after //, if there is one.
|
||||
// TODO(gri) This appears to be necessary in isolated
|
||||
// cases (bignum.RatFromString) - why?
|
||||
if len(c) > 0 && c[0] == ' ' {
|
||||
c = c[1:]
|
||||
}
|
||||
case '*':
|
||||
/*-style comment */
|
||||
c = c[2 : len(c)-2]
|
||||
}
|
||||
|
||||
// Split on newlines.
|
||||
cl := strings.Split(c, "\n")
|
||||
|
||||
// Walk lines, stripping trailing white space and adding to list.
|
||||
for _, l := range cl {
|
||||
lines = append(lines, stripTrailingWhitespace(l))
|
||||
}
|
||||
}
|
||||
|
||||
// Remove leading blank lines; convert runs of
|
||||
// interior blank lines to a single blank line.
|
||||
n := 0
|
||||
for _, line := range lines {
|
||||
if line != "" || n > 0 && lines[n-1] != "" {
|
||||
lines[n] = line
|
||||
n++
|
||||
}
|
||||
}
|
||||
lines = lines[0:n]
|
||||
|
||||
// Add final "" entry to get trailing newline from Join.
|
||||
if n > 0 && lines[n-1] != "" {
|
||||
lines = append(lines, "")
|
||||
}
|
||||
|
||||
return strings.Join(lines, "\n")
|
||||
}
|
||||
|
||||
var (
|
||||
ldquo = []byte("“")
|
||||
rdquo = []byte("”")
|
||||
|
@ -35,7 +35,7 @@ func Examples(pkg *ast.Package) []*Example {
|
||||
examples = append(examples, &Example{
|
||||
Name: name[len("Example"):],
|
||||
Body: &printer.CommentedNode{f.Body, src.Comments},
|
||||
Output: CommentText(f.Doc),
|
||||
Output: f.Doc.Text(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -358,7 +358,7 @@ func makeValueDocs(list []*ast.GenDecl, tok token.Token) []*ValueDoc {
|
||||
n := 0
|
||||
for i, decl := range list {
|
||||
if decl.Tok == tok {
|
||||
d[n] = &ValueDoc{CommentText(decl.Doc), decl, i}
|
||||
d[n] = &ValueDoc{decl.Doc.Text(), decl, i}
|
||||
n++
|
||||
decl.Doc = nil // doc consumed - removed from AST
|
||||
}
|
||||
@ -379,7 +379,7 @@ func makeFuncDocs(m map[string]*ast.FuncDecl) []*FuncDoc {
|
||||
i := 0
|
||||
for _, f := range m {
|
||||
doc := new(FuncDoc)
|
||||
doc.Doc = CommentText(f.Doc)
|
||||
doc.Doc = f.Doc.Text()
|
||||
f.Doc = nil // doc consumed - remove from ast.FuncDecl node
|
||||
if f.Recv != nil {
|
||||
doc.Recv = f.Recv.List[0].Type
|
||||
@ -452,7 +452,7 @@ func (doc *docReader) makeTypeDocs(m map[string]*typeInfo) []*TypeDoc {
|
||||
doc = decl.Doc
|
||||
}
|
||||
decl.Doc = nil // doc consumed - remove from ast.Decl node
|
||||
t.Doc = CommentText(doc)
|
||||
t.Doc = doc.Text()
|
||||
t.Type = typespec
|
||||
t.Consts = makeValueDocs(old.values, token.CONST)
|
||||
t.Vars = makeValueDocs(old.values, token.VAR)
|
||||
@ -587,7 +587,7 @@ func customizeRecv(m *FuncDoc, embeddedIsPtr bool, recvTypeName string) *FuncDoc
|
||||
func makeBugDocs(list []*ast.CommentGroup) []string {
|
||||
d := make([]string, len(list))
|
||||
for i, g := range list {
|
||||
d[i] = CommentText(g)
|
||||
d[i] = g.Text()
|
||||
}
|
||||
return d
|
||||
}
|
||||
@ -600,7 +600,7 @@ func (doc *docReader) newDoc(importpath string, filenames []string) *PackageDoc
|
||||
p.ImportPath = importpath
|
||||
sort.Strings(filenames)
|
||||
p.Filenames = filenames
|
||||
p.Doc = CommentText(doc.doc)
|
||||
p.Doc = doc.doc.Text()
|
||||
// makeTypeDocs may extend the list of doc.values and
|
||||
// doc.funcs and thus must be called before any other
|
||||
// function consuming those lists
|
||||
|
Loading…
Reference in New Issue
Block a user