Skip to content

Example of custom install location of graphqlparserlib #28

@bessey

Description

@bessey

I'm trying to get my Travis tests not to require sudo. To do so I have had to install libgraphqlparser to a custom directory. That's ok:

if [ ! -d $HOME/gql ]; then
  wget https://github.com/graphql/libgraphqlparser/archive/v0.7.0.tar.gz
  tar -xzvf v0.7.0.tar.gz
  cd libgraphqlparser-0.7.0/ && cmake . && make && make DESTDIR=$HOME/gql install && cd ..
fi

But I can't work out what incantation of
gem install graphql-libgraphqlparser -- --with-graphqlparserlib=XXX
will actually use that directory. Looking here I'm not sure it ever will, seems like the paths checked are hardcoded?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions