Sha256: 26c5e099efbce10a9c405d2f6faccacbb6b164793b044269788e72fb4ea394ab

Contents?: true

Size: 910 Bytes

Versions: 3

Compression:

Stored size: 910 Bytes

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

list:
	gem list -r storazzo

test:
	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'

# 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
storazzo-0.2.2 Makefile
storazzo-0.2.1 Makefile
storazzo-0.2.0 Makefile