summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2013-07-19 11:09:57 -0600
committermo khan <mo@mokhan.ca>2013-07-19 11:09:57 -0600
commit0fd9cc9f695d90d20aa0bbdb3b16785d29fefb79 (patch)
tree0a2e819475c10910840c43a9a15b02d706d1741e /lib/tasks
parentd4cc5343f90412675facecb8055afd6b5ec6f6b2 (diff)
create rake task to run ci build
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/ci.rake12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake
new file mode 100644
index 0000000..a44124c
--- /dev/null
+++ b/lib/tasks/ci.rake
@@ -0,0 +1,12 @@
+require 'rubygems'
+
+desc "run the ci build"
+task :ci do
+ Rake::Task['log:clear'].execute
+ Rake::Task['tmp:cache:clear'].execute
+ Rake::Task['db:test:load'].execute
+ Rake::Task['db:migrate'].execute
+ Rake::Task['db:test:prepare'].execute
+ Rake::Task['spec'].execute
+ Rake::Task['teaspoon'].execute
+end