dependencies:
  cache_directories:
    - jq-1.5
  pre:
    - |
      if [[ ! -d jq-1.5/BUILD ]]; then
        curl -L -fsS https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz | tar -xz
        cd jq-1.5
        ./configure --disable-maintainer-mode --prefix=$PWD/BUILD
        make install-libLTLIBRARIES install-includeHEADERS
      fi

dependencies:
  cache_directories:
    - jq-1.5
  pre:
    - |
      if [[ ! -d jq-1.5/BUILD ]]; then
        curl -L -fsS https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz | tar -xz
        cd jq-1.5
        ./configure --disable-maintainer-mode --prefix=$PWD/BUILD
        make install-libLTLIBRARIES install-includeHEADERS
      fi
test:
  post:
    - go build -v cmd/jqrepl.go
    - mv jqrepl $CIRCLE_ARTIFACTS/jqrepl

Build the `jqrepl` command in CI too.
Build the `jqrepl` command in CI too.

We don't perform any tests of it (yet), but this way we can at least verify
that it does build, and pull it out to  put into a GitHub release.
