[DRE-commits] [ruby-roadie-rails] 04/10: tests: symlink shared files into sample app
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Feb 14 16:18:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-roadie-rails.
commit dc477048feb83b6e2321ef7810663f1f396dd8d2
Author: Antonio Terceiro <terceiro at debian.org>
Date: Fri Jan 22 15:19:40 2016 -0200
tests: symlink shared files into sample app
---
debian/ruby-tests.rake | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index cf1591e..8a697ef 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -3,3 +3,13 @@ require 'gem2deb/rake/spectask'
Gem2Deb::Rake::RSpecTask.new do |spec|
spec.pattern = './spec/**/*_spec.rb'
end
+
+task :default => :setup_test_app
+
+task :setup_test_app do
+ mkdir_p 'spec/railsapps/rails_42/app'
+ cp_r 'spec/railsapps/shared/pipeline/app/assets', 'spec/railsapps/rails_42/app/assets'
+ cp_r 'spec/railsapps/shared/all/app/mailers', 'spec/railsapps/rails_42/app/mailers'
+ cp_r 'spec/railsapps/shared/all/app/views', 'spec/railsapps/rails_42/app/views'
+ ln_s 'mailer', 'spec/railsapps/rails_42/app/views/auto_mailer'
+end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-roadie-rails.git
More information about the Pkg-ruby-extras-commits
mailing list