Sha256: 0b949ea0af111a22444307f8959472e9410ff7e96614a9a8f5be45fd8ee3b77d

Contents?: true

Size: 366 Bytes

Versions: 10

Compression:

Stored size: 366 Bytes

Contents

module Ragen
	class Test < Thor
		default_task :default

		desc "default", "default", hide: true
		def default
			system "watchr #{Rag::Rc.o.project}.watchr", :verbose
		end

		desc "test [all]", "auto test with watchr"
		def all
			system "rspec --color spec", :verbose
		end

	end
end

class Rag < Thor
	desc "test", "run test"
	subcommand "test", Ragen::Test
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rag-1.2.1 lib/rag/test.rb
rag-1.2.0 lib/rag/test.rb
rag-1.1.0 lib/rag/test.rb
rag-1.0.7 lib/rag/test.rb
rag-1.0.6 lib/rag/test.rb
rag-1.0.5 lib/rag/test.rb
rag-1.0.4 lib/rag/test.rb
rag-1.0.2 lib/rag/test.rb
rag-1.0.1 lib/rag/test.rb
rag-1.0.0 lib/rag/test.rb