Sha256: 574c0cc4146f485e07b8f6b61e9d1cfe752a2beef03fd17b02d90fe45e9052c4

Contents?: true

Size: 616 Bytes

Versions: 1

Compression:

Stored size: 616 Bytes

Contents

require 'yard'
require "bundler/gem_tasks"
require "./lib/netzke/basepack/version"

YARD::Rake::YardocTask.new do |t|
  t.options = ['--title', "Netzke Basepack #{Netzke::Basepack::Version::STRING}"]
end

namespace :yard do
  desc "Publish docs to api.netzke.org"
  task publish: :yard do
    dir = 'www/api.netzke.org/basepack'
    puts "Publishing to fl:#{dir}..."
    `ssh fl "mkdir -p #{dir}"`
    `scp -r doc/* fl:#{dir}`
  end
end

desc "Run all tests"
task :test do
  system("cd spec/rails_app && RAILS_ENV=test rake db:migrate") &&
  system("rspec spec") ||
  abort
end

desc 'rake test'
task default: :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
netzke-basepack-0.9.0.rc1 Rakefile