Sha256: f96775287181ed0053747549bddaefc7d98e0617f7d9d9f5f43ded15e0f1025c

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

Contents

VER = $(shell cat VERSION)

.PHONY: test clean


help:
	cat Makefile

build-local:
	gem build storazzo.gemspec

build: build-local 

install:
	gem install ./storazzo-$(VER).gem

push-to-rubygems: build-local test
	gem push ./storazzo-$(VER).gem
push-to-rubygems-without-tests: build-local 
	gem push ./storazzo-$(VER).gem

list:
	gem list -r storazzo

test-all:
	echo 1. Testing the library end to end by requiring it..
	echo "Storazzo::Main.all_tests "  | irb -Ilib -rstorazzo
	make mounts
	#echo 2. Testing ricdisk-magic
	#bin/ricdisk-magic Ciao-da-Makefile
	echo 3. run rake test.. ont configured yet just a memo for the future.
	RUBYOPT="-W0" rake test
	echo 4. Prove I can include local gem in irb and play around. Similarly to rails console without reload.  
	make irb-test
	@echo 'OK: ALL TESTS PASSED. #STIKA'

test:
	RUBYOPT="-W0" rake test

# RicDisk test
mounts:
	echo "Storazzo::Main.all_mounts ; nil" | irb -Ilib -rstorazzo

irb:
	irb -Ilib -rstorazzo
irb-test:
	./irb-test.sh

watch-test:
	watch -c make test

test-gcs-bucket:
	ruby -I test test/test_gcs_bucket.rb

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
storazzo-0.4.2 Makefile
storazzo-0.4.1 Makefile
storazzo-0.3.8 Makefile
storazzo-0.3.7 Makefile
storazzo-0.3.5 Makefile