ruby/Makefile
Petr "Stone" Hracek a5499de9e0 First tests
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
2017-05-02 14:35:14 +02:00

17 lines
328 B
Makefile

IMAGE_NAME = ruby
MODULEMDURL=file://ruby.yaml
default: run
build:
docker build --tag=$(IMAGE_NAME) .
run: build
docker run -d $(IMAGE_NAME)
test: build
cd tests; MODULE=docker MODULEMD=$(MODULEMDURL) URL="docker=$(IMAGE_NAME)" make all
cd tests; MODULE=rpm MODULEMD=$(MODULEMDURL) URL="docker=$(IMAGE_NAME)" make all