[Groonga-commit] groonga/grntest [master] Add document about copy-path directive

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 11 23:08:30 JST 2012


Kouhei Sutou	2012-10-11 23:08:30 +0900 (Thu, 11 Oct 2012)

  New Revision: 03cfa2f230dfa1e74ea3a302fbc4c6f382f3a8a5
  https://github.com/groonga/grntest/commit/03cfa2f230dfa1e74ea3a302fbc4c6f382f3a8a5

  Log:
    Add document about copy-path directive

  Modified files:
    README.md

  Modified: README.md (+19 -0)
===================================================================
--- README.md    2012-10-11 23:03:30 +0900 (7200177)
+++ README.md    2012-10-11 23:08:30 +0900 (59f91b1)
@@ -211,6 +211,7 @@ Here are available `NAME` s:
 * `enable-logging`
 * `suggest-create-dataset`
 * `include`
+* `copy-path`
 
 `ARGUMENTS...` are depends on directive. A directive doesn't require
 any arguments but a directive requires arguments.
@@ -338,6 +339,24 @@ select Users --query _key:Alice
 
 See also: `--base-directory` option
 
+### `copy-path`
+
+Usage
+
+```
+#@copy-path SOURCE DESTINATION
+```
+
+It copies a path from `SOURCE` to `DESTINATION`. You can use it for
+both file and directory. It is useful for using fixture data.
+
+Example:
+
+```
+#@copy-path fixture/query_expander/tsv/japanese_synonyms.tsv tmp/synonyms.tsv
+register "query_expanders/tsv"
+```
+
 ## Options
 
 Grntest has many options. You don't need to specify many of them
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index