Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (20 sloc) 0.67 kB
require "bundler/gem_tasks"
require 'yard'
# Load tasks, that will be available for Rails user
Dir[File.join(File.dirname(__FILE__), './lib/tasks/*.rake')].each { |file| load file }
# Load tasks for gem development
Dir[File.join(File.dirname(__FILE__), 'tasks/*.rake')].each { |file| load file }
YARD::Rake::YardocTask.new do |t|
t.options = ['--title', "Netzke Core #{Netzke::Core::VERSION}"]
end
namespace :yard do
desc "Publish docs to api.netzke.org"
task publish: :yard do
dir = 'www/api.netzke.org/core'
puts "Publishing to fl:#{dir}..."
`ssh fl "mkdir -p #{dir}"`
`scp -r doc/* fl:#{dir}`
end
end
desc 'rake test'
task default: :test
Jump to Line
Something went wrong with that request. Please try again.