Sha256: 9d6e36d0616089a6cb7bc5ff095d150775b9090428212538abb2cf054fb54f88

Contents?: true

Size: 892 Bytes

Versions: 4

Compression:

Stored size: 892 Bytes

Contents

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

APP_RAKEFILE = File.expand_path("../test/app/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'

Bundler::GemHelper.install_tasks

require 'rake/testtask'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

namespace :shoppe do
  desc 'Publish the release notes'
  task :changelog do
    system "scp -P 32032 CHANGELOG.md vdt@185.44.252.32:/app/docs/CHANGELOG.md"
  end
  
  desc "Publish RDoc documentation from doc to api.tryshoppe.com"
  task :docs do
    if File.exist?('Rakefile')
      system "yard"
      system "ssh root@tryshoppe.com rm -Rf /var/www/shoppe-api"
      system "scp -r doc root@tryshoppe.com:/var/www/shoppe-api"
      system "rm -Rf doc"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shoppe-1.0.3 Rakefile
shoppe-1.0.2 Rakefile
shoppe-1.0.1 Rakefile
shoppe-1.0.0 Rakefile