Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 466 Bytes
task :default => [:test]
$gem_name = "string_case_pl"
desc "Build the gem"
task :build do
sh "gem build #$gem_name.gemspec"
end
desc "Install the library at local machnie"
task :install => :build do
sh "sudo gem install #$gem_name"
end
desc "Uninstall the library from local machnie"
task :uninstall do
sh "sudo gem uninstall #$gem_name"
end
desc "Run tests"
task :test do
sh "ruby test/*"
end
desc "Clean"
task :clean do
sh "rm #$gem_name*.gem"
end
Something went wrong with that request. Please try again.