Rakefile in dusen-0.4.4 vs Rakefile in dusen-0.4.5
- old
+ new
@@ -5,12 +5,17 @@
task :default => 'all:spec'
namespace :travis_ci do
desc 'Things to do before Travis CI begins'
- task :prepare do
+ task :prepare => :slimgems do
Rake::Task['travis_ci:create_database'].invoke &&
Rake::Task['travis_ci:create_database_yml'].invoke
+ end
+
+ desc 'Install slimgems'
+ task :slimgems do
+ system('gem install slimgems')
end
desc 'Creates a test database'
task :create_database do
system("mysql -e 'create database dusen_test;'")