Sha256: c6f5fbf18716ed01351fb316e6fbba19876e975269e8b14662678b4baa19314e

Contents?: true

Size: 640 Bytes

Versions: 1

Compression:

Stored size: 640 Bytes

Contents

sudo = Process.pid==0 ? "" : "sudo"

desc "build a gem file"
task :release do
	run "gem build rag.gemspec"
	run "gem push *.gem"
  run "#{sudo} gem install *.gem"
	run "rm *.gem"
end

desc "install a gem file"
task :install do
	run "gem build rag.gemspec"
	run "#{sudo} gem install *.gem"
	run "rm *.gem"
end

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

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

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

desc "clean up"
task :clean do
	run "rm *.gem"
end

def run cmd
	puts cmd
	system cmd
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rag-1.3.0 Rakefile