Sha256: 1aadbfdd3734160611ee4d379ff10b106e152c7557ab37f543fbadd779f471eb

Contents?: true

Size: 499 Bytes

Versions: 2

Compression:

Stored size: 499 Bytes

Contents

desc "build a gem file"
task :release do
	sh "gem build rag.gemspec"
	sh "gem push *.gem"
	sh "rm *.gem"
end

desc "install a gem file"
task :install do
	sh "gem build rag.gemspec"
	sh "gem install *.gem"
	sh "rm *.gem"
end

desc "autotest with watchr"
task :test do
	sh "watchr rag.watchr"
end

desc "testing the libraray"
namespace :test do
	task :all do
		sh "rspec spec"
	end
end

desc "run yard server --reload"
task :doc do
	sh "yard server --reload"
end

def sh cmd
	puts cmd
	system cmd
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rag-1.0.1 Rakefile
rag-1.0.0 Rakefile