A command line tool for Gronga on .NET 4.5.
Windows Server 2012 R2 (Appveyor) | Mono 4.2.1 or later, OSX (Travis) | Mono 4.2.1 or later, Ubuntu Trusty (Wercker) |
---|---|---|
-
You have to install .NET 4.5. (Not client profile)
-
Unpack grnline.fs-VERSION.zip
-
Execute grnline.fs.exe via cmd.exe or powershell.exe
-
You have to install mono-runtime 4.2.1 or later and fsharp packages from mono repository. In more detail, please refer to .travis.yml(OS X) or wercker.yml(Ubuntu Trusty).
-
Unpack grnline.fs-VERSION.zip
-
Execute grnline.fs.exe via bash or zsh or other posix like shell.
cmd> grnline.fs.exe --groonga-path GROONGA_PATH --db-path GROONGA_DB [--encoding ENCODING] [--pretty true]
For non-Windows environment, execute this command via mono
like this:
$ mono grnline.fs.exe --groonga-path GROONGA_PATH --db-path GROONGA_DB [--encoding ENCODING] [--pretty true]
For Windows:
cmd> grnline.fs.exe --groonga-path "C:\\groonga-5.1.0-x64\\groonga-5.1.0-x64\\bin\\groonga.exe" --db-path "test.db" --encoding UTF-8 --pretty true
For *nix like environment:
mono grnline.fs.exe --groonga-path `which groonga` --db-path test.db --encoding UTF-8 --pretty true
grnline.fs
create child Groonga process and Groonga child process redirects stdin/stdout to its parent.
You can use pretty printing with adding --pretty true
to command line arguments.
If you enconter space contained path, you can get MS-DOS 8.3 style path with dir /x
and use it such as --db-path
arguments.
- Install Visual Studio 2015 Community.
- Use paket-bootstrap.exe and paket.exe to restore dependent libraries.
- Argu (for command line arguments parser)
- Json.NET (for pretty printing JSON)
- Install Xamarin Studio 5.10.2 or later and mono 4.2.1 or later
- Restore dependent libraries.
- Argu (for command line arguments parser)
- Json.NET (for pretty printing JSON)
- Install MonoDevelop 5.10 or later and fsharp from mono repository
- Restore dependent libraries.
- Argu (for command line arguments parser)
- Json.NET (for pretty printing JSON)
Note that this project uses Persimmon as a testing library.
- Run
RunTests.ps1
on PowerShell. You have to setRemote-Signed
PowerShell security level withSet-ExecutionPolicy
Cmdlet.
- Run
RunTests.sh
.
MIT.