Sha256: ba9d7ac82669ccf5c6365cc79fb44292c28c089c09aab45a3214e2438be9b200

Contents?: true

Size: 735 Bytes

Versions: 1

Compression:

Stored size: 735 Bytes

Contents

.PHONY: build-run-docker test 

build-run-docker:
	gem build ./fakes3.gemspec | tee gem-build.txt
	gem push $$(grep '^  File: ' gem-build.txt | sed 's/^  File: //')
	v=$$(grep '^  File: ' gem-build.txt | sed -e 's/^  File: plntr-fakes3-//' -e 's/\.gem$//') && \
	  sed -i "s/^PLNTR_FAKES3_VERSION=.*/PLNTR_FAKES3_VERSION=$${v}/" \
	    ~/dev/docker-image-fakes3/Makefile
	make -C ~/dev/docker-image-fakes3/Makefile
	docker rm -f fakes3
	docker run -ti --rm \
	  -e HOSTNAME=b2d \
	  -p 4567:4567 \
	  -v /tmp/s3:/s3 \
	  planitar/fakes

build-test-container:
	docker build -t fake-s3 .

test: build-test-container
	docker run --rm --add-host="posttest.localhost:127.0.0.1" -e "RUBYOPT=-W0" fake-s3 sh -c "rake test_server & rake test"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plntr-fakes3-1.0.0.pre.10alpha3 Makefile