codeclimate.sh 324 B

1234
  1. #!/bin/bash
  2. docker run --interactive --tty --rm --env CONTAINER_TIMEOUT_SECONDS=1800 --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f html /code/src/ecs/test > /tmp/out.html
  3. xdg-open /tmp/out.html