Sha256: dea944c43aafff9c09453b2c67ff132bfcec36b5567e7f1b6d45cd4932808e47

Contents?: true

Size: 889 Bytes

Versions: 10

Compression:

Stored size: 889 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 :tienda 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.trytienda.com"
  task :docs do
    if File.exist?('Rakefile')
      system "yard"
      system "ssh root@trytienda.com rm -Rf /var/www/tienda-api"
      system "scp -r doc root@trytienda.com:/var/www/tienda-api"
      system "rm -Rf doc"
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tienda-2.1.3 Rakefile
tienda-2.1.2 Rakefile
tienda-2.1.1 Rakefile
tienda-2.1.0 Rakefile
tienda-2.0.2 Rakefile
tienda-2.0.1 Rakefile
tienda-1.1.2 Rakefile
tienda-1.1.1 Rakefile
tienda-1.1.0 Rakefile
tienda-1.0.0 Rakefile