Merge branch 'bcampbell-sedtweak'
This commit is contained in:
commit
b961d742c1
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,6 +7,7 @@
|
||||||
**/.idea/
|
**/.idea/
|
||||||
**/*.iml
|
**/*.iml
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
query_string.y.go.tmp
|
||||||
/analysis/token_filters/cld2/cld2-read-only
|
/analysis/token_filters/cld2/cld2-read-only
|
||||||
/analysis/token_filters/cld2/libcld2_full.a
|
/analysis/token_filters/cld2/libcld2_full.a
|
||||||
/utils/bleve_create/bleve_create
|
/utils/bleve_create/bleve_create
|
||||||
|
|
|
@ -8,7 +8,12 @@
|
||||||
// and limitations under the License.
|
// and limitations under the License.
|
||||||
|
|
||||||
//go:generate go tool yacc -o query_string.y.go query_string.y
|
//go:generate go tool yacc -o query_string.y.go query_string.y
|
||||||
//go:generate sed -i "" -e 1d query_string.y.go
|
//go:generate sed -i.tmp -e 1d query_string.y.go
|
||||||
|
//go:generate rm query_string.y.go.tmp
|
||||||
|
|
||||||
|
// note: OSX sed and gnu sed handle the -i (in-place) option differently.
|
||||||
|
// using -i.tmp works on both, at the expense of having to remove
|
||||||
|
// the unsightly .tmp files
|
||||||
|
|
||||||
package bleve
|
package bleve
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user