diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..60c2fdcc --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +.PHONY: image test + +IMAGE_NAME ?= codeclimate/codeclimate-duplication + +image: + docker build --rm -t $(IMAGE_NAME) . + +test: image + docker run --rm $(IMAGE_NAME) bundle exec rake diff --git a/bin/test b/bin/test deleted file mode 100755 index 5da597c1..00000000 --- a/bin/test +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -set -ex - -docker build -t codeclimate/codeclimate-duplication . -docker run codeclimate/codeclimate-duplication bundle exec rake