lib/chicken_soup/environment.rb in chicken_soup-0.1.0 vs lib/chicken_soup/environment.rb in chicken_soup-0.2.0
- old
+ new
@@ -2,6 +2,16 @@
# ENVIRONMENT SETUP #
######################################################################
Capistrano::Configuration.instance(:must_exist).load do
require 'chicken_soup/environment/defaults'
require 'chicken_soup/environment/checks'
+ require 'chicken_soup/environment/tasks'
+
+ namespace :environment do
+ desc "[internal] Load the Chicken Soup environment"
+ task :init do
+ environment.defaults.default
+ environment.check
+ environment.load_tasks
+ end
+ end
end