Sha256: e228ead01c0426b1130d6f224c9f8ef87451b462c51256cfcd3a0eeaa5a7a025
Contents?: true
Size: 620 Bytes
Versions: 19
Compression:
Stored size: 620 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}"] 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("bundle exec rspec spec") || abort end desc 'rake test' task default: :test
Version data entries
19 entries across 19 versions & 1 rubygems