groonga-plugin-<%= config %>¶ ↑
TODO: Write description.
Prepare¶ ↑
$ git clone git@github.com:[USERNAME]/groonga-plugin-<%= config[:plugin_name] %>.git $ cd groonga-plugin-<%= config[:plugin_name] %> $ ./autogen.sh
Build¶ ↑
Groonga is installed in /usr/local
:
$ ./configure $ make
Groonga is installed in other directory (e.g.: /tmp/local
):
$ ./configure --prefix=/tmp/local $ make
Test¶ ↑
Using grntest.
$ test/run-test.sh
Install¶ ↑
For system directory (e.g.: /usr/local
):
$ sudo make install
For user directory (e.g.: /tmp/local
):
$ make install
Usage¶ ↑
TODO: Write usage.
Development¶ ↑
Add test¶ ↑
$ vi test/suite/new_test.test $ test/run-test.sh $ cat test/suite/new_test.actual # Confirm result $ mv test/suite/new_test.{actual,expected} # Rename confirmed test