Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 342 Bytes
WINDOWS = (RUBY_PLATFORM =~ /win32|cygwin/ ? true : false) rescue false
SUDO = WINDOWS ? '' : 'sudo'
task :default => :install
desc "Builds the gem"
task :gem do
sh "gem build yard-defaultreturn.gemspec"
end
desc "Installs the gem"
task :install => :gem do
sh "#{SUDO} gem install yard-defaultreturn-1.0.0.gem --no-rdoc --no-ri"
end
Something went wrong with that request. Please try again.