Sha256: 98fb3ebe8fc3900e877c36a3c9daa1297e708d158da149544d1c4d25a7888970
Contents?: true
Size: 914 Bytes
Versions: 2
Compression:
Stored size: 914 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 CHANGELOG.md rubyapps@tryshoppe.com:/opt/rubyapps/shoppe-website/shared/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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shoppe-0.0.21 | Rakefile |
shoppe-0.0.20 | Rakefile |