0
0
Fork 0

Merge branch 'sedtweak' of https://github.com/bcampbell/bleve into bcampbell-sedtweak

This commit is contained in:
Marty Schoch 2016-09-01 13:55:15 -04:00
commit 67755618e9
2 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@
**/.idea/
**/*.iml
.DS_Store
query_string.y.go.tmp
/analysis/token_filters/cld2/cld2-read-only
/analysis/token_filters/cld2/libcld2_full.a
/utils/bleve_create/bleve_create

View File

@ -8,7 +8,12 @@
// and limitations under the License.
//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