Sha256: 5bfe749261d00fbeba44e246002466a6ab1292e30316f40176308a45de1b3387

Contents?: true

Size: 646 Bytes

Versions: 3

Compression:

Stored size: 646 Bytes

Contents

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

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

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

3 entries across 3 versions & 1 rubygems

Version Path
tagen-1.1.7 Rakefile
tagen-1.1.6 Rakefile
tagen-1.1.5 Rakefile