lots of exercises in java... from https://github.com/exercism/java

build-jq.sh 233B

123456789101112
  1. #!/usr/bin/env bash
  2. set -ex
  3. pushd bin
  4. curl --location https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz >jq-1.5.tar.gz
  5. tar xvf jq-1.5.tar.gz
  6. cd jq-1.5
  7. ./configure --disable-maintainer-mode && make
  8. mv jq ..
  9. popd