Sha256: a0ee9fa753f8cbf2e0fcdd26436cc9a75195b508cbf04a126b47b836bbe01034

Contents?: true

Size: 637 Bytes

Versions: 2

Compression:

Stored size: 637 Bytes

Contents

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

desc "build a gem file"
task :release do
	run "gem build pd.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 pd.gemspec"
	run "#{sudo} gem install *.gem"
	run "rm *.gem"
end

desc "autotest with watchr"
task :test do
	run "watchr pd.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

2 entries across 2 versions & 1 rubygems

Version Path
pd-1.1.0 Rakefile
pd-1.0.5 Rakefile