Code Monkey home page Code Monkey logo

grnenv's Introduction

grnenv Build Status

Make Groonga build easy. Inspired by rbenv.

Requirements

  • Bash
  • Autotools

Install

$ git clone https://github.com/myokoym/grnenv ~/.grnenv
$ export GRNENV_HOME=~/.grnenv
$ export PATH=$GRNENV_HOME/bin:$GRNENV_HOME/shims:$PATH

Usage

Build

$ grnenv build 5.1.2  # Specify Groonga version

Switch version

Global

$ grnenv global 5.1.2
$ groonga --version  # 5.1.2
$ cd ..
$ groonga --version  # 5.1.2

Only current directory

$ grnenv build 1.0.0
...
$ grnenv local 1.0.0
$ cat .groonga-version
1.0.0
$ groonga --version  # 1.0.0
$ cd ..
$ groonga --version  # 5.1.2

Use system installed Groonga

If Groonga is installed in /tmp/local:

$ grnenv local system
$ cat .groonga-version
system
$ which groonga
/tmp/local/bin/groonga

Export paths

The following command exports the current version's paths to LD_LIBRARY_PATH and PKG_CONFIG_PATH.

$ eval "$(grnenv export)"

Plugin

Install

$ grnenv plugin-install https://github.com/myokoym/groonga-plugin-default_encoding

Uninstall

$ grnenv plugin-uninstall groonga-plugin-default_encoding

grnenv's People

Contributors

kenhys avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

kenhys

grnenv's Issues

Support Windows

Choices:

  • a. PowerShell
  • b. bat + bitsadmin (or wget etc.)
  • c. Go
  • d. Ruby

Use UserAgent

In this tool, --user-agent option is not specified in wget.
User-Agent should be specified there.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.