diff options
| author | Robert Griesemer <gri@golang.org> | 2011-10-11 17:43:10 -0700 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2011-10-11 17:43:10 -0700 |
| commit | e58a77809d5d31317f64bfc5b8a96e2fb093bae4 (patch) | |
| tree | fb62711a5af41a47f981952dcca454841b8caac5 | |
| parent | 9b8cdad8aa619beb3be7e912fcb23a76cb73e622 (diff) | |
| download | go-e58a77809d5d31317f64bfc5b8a96e2fb093bae4.tar.xz | |
ebnf, ebnflint: move under exp
pkg/ebnf -> pkg/exp/ebnf
cmd/ebnflint -> pkg/exp/ebnflint
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5188042
| -rw-r--r-- | src/cmd/Makefile | 1 | ||||
| -rw-r--r-- | src/pkg/Makefile | 6 | ||||
| -rw-r--r-- | src/pkg/exp/ebnf/Makefile (renamed from src/pkg/ebnf/Makefile) | 6 | ||||
| -rw-r--r-- | src/pkg/exp/ebnf/ebnf.go (renamed from src/pkg/ebnf/ebnf.go) | 0 | ||||
| -rw-r--r-- | src/pkg/exp/ebnf/ebnf_test.go (renamed from src/pkg/ebnf/ebnf_test.go) | 0 | ||||
| -rw-r--r-- | src/pkg/exp/ebnf/parser.go (renamed from src/pkg/ebnf/parser.go) | 0 | ||||
| -rw-r--r-- | src/pkg/exp/ebnflint/Makefile (renamed from src/cmd/ebnflint/Makefile) | 4 | ||||
| -rw-r--r-- | src/pkg/exp/ebnflint/doc.go (renamed from src/cmd/ebnflint/doc.go) | 0 | ||||
| -rw-r--r-- | src/pkg/exp/ebnflint/ebnflint.go (renamed from src/cmd/ebnflint/ebnflint.go) | 2 | ||||
| -rwxr-xr-x | src/run.bash | 2 |
10 files changed, 10 insertions, 11 deletions
diff --git a/src/cmd/Makefile b/src/cmd/Makefile index de1410b4f2..d9da50a66b 100644 --- a/src/cmd/Makefile +++ b/src/cmd/Makefile @@ -38,7 +38,6 @@ CLEANDIRS=\ 8g\ 8l\ cgo\ - ebnflint\ godoc\ gofix\ gofmt\ diff --git a/src/pkg/Makefile b/src/pkg/Makefile index e833fcfbba..321b463b13 100644 --- a/src/pkg/Makefile +++ b/src/pkg/Makefile @@ -68,7 +68,6 @@ DIRS=\ debug/elf\ debug/gosym\ debug/pe\ - ebnf\ encoding/ascii85\ encoding/base32\ encoding/base64\ @@ -78,6 +77,8 @@ DIRS=\ encoding/pem\ exec\ exp/datafmt\ + exp/ebnf\ + exp/ebnflint\ exp/gui\ exp/gui/x11\ exp/norm\ @@ -173,7 +174,6 @@ DIRS=\ websocket\ xml\ ../cmd/cgo\ - ../cmd/ebnflint\ ../cmd/godoc\ ../cmd/gofix\ ../cmd/gofmt\ @@ -201,6 +201,7 @@ NOTEST+=\ crypto\ crypto/openpgp/error\ crypto/x509/pkix\ + exp/ebnflint\ exp/gui\ exp/gui/x11\ exp/sql/driver\ @@ -220,7 +221,6 @@ NOTEST+=\ testing\ testing/iotest\ ../cmd/cgo\ - ../cmd/ebnflint\ ../cmd/godoc\ ../cmd/gotest\ ../cmd/goyacc\ diff --git a/src/pkg/ebnf/Makefile b/src/pkg/exp/ebnf/Makefile index f5555d2720..844de675cb 100644 --- a/src/pkg/ebnf/Makefile +++ b/src/pkg/exp/ebnf/Makefile @@ -2,11 +2,11 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include ../../Make.inc +include ../../../Make.inc -TARG=ebnf +TARG=exp/ebnf GOFILES=\ ebnf.go\ parser.go\ -include ../../Make.pkg +include ../../../Make.pkg diff --git a/src/pkg/ebnf/ebnf.go b/src/pkg/exp/ebnf/ebnf.go index 2ec7f00800..2ec7f00800 100644 --- a/src/pkg/ebnf/ebnf.go +++ b/src/pkg/exp/ebnf/ebnf.go diff --git a/src/pkg/ebnf/ebnf_test.go b/src/pkg/exp/ebnf/ebnf_test.go index 8cfd6b9c37..8cfd6b9c37 100644 --- a/src/pkg/ebnf/ebnf_test.go +++ b/src/pkg/exp/ebnf/ebnf_test.go diff --git a/src/pkg/ebnf/parser.go b/src/pkg/exp/ebnf/parser.go index 2dbbefb751..2dbbefb751 100644 --- a/src/pkg/ebnf/parser.go +++ b/src/pkg/exp/ebnf/parser.go diff --git a/src/cmd/ebnflint/Makefile b/src/pkg/exp/ebnflint/Makefile index 8f030aaefa..2057b07d58 100644 --- a/src/cmd/ebnflint/Makefile +++ b/src/pkg/exp/ebnflint/Makefile @@ -2,13 +2,13 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include ../../Make.inc +include ../../../Make.inc TARG=ebnflint GOFILES=\ ebnflint.go\ -include ../../Make.cmd +include ../../../Make.cmd test: $(TARG) $(TARG) -start="SourceFile" "$(GOROOT)"/doc/go_spec.html diff --git a/src/cmd/ebnflint/doc.go b/src/pkg/exp/ebnflint/doc.go index f35976eea7..f35976eea7 100644 --- a/src/cmd/ebnflint/doc.go +++ b/src/pkg/exp/ebnflint/doc.go diff --git a/src/cmd/ebnflint/ebnflint.go b/src/pkg/exp/ebnflint/ebnflint.go index 6f307b7060..c827716c44 100644 --- a/src/cmd/ebnflint/ebnflint.go +++ b/src/pkg/exp/ebnflint/ebnflint.go @@ -6,7 +6,7 @@ package main import ( "bytes" - "ebnf" + "exp/ebnf" "flag" "fmt" "go/scanner" diff --git a/src/run.bash b/src/run.bash index b1eaf3abe6..d3d2c69bf5 100755 --- a/src/run.bash +++ b/src/run.bash @@ -45,7 +45,7 @@ gomake testshort GOMAXPROCS=10 gomake testshort ) || exit $? -(xcd cmd/ebnflint +(xcd pkg/exp/ebnflint time gomake test ) || exit $? |
