From 6fe237c878ac047b9f60236d88a33ac31a2d5061 Mon Sep 17 00:00:00 2001 From: Connor Shea Date: Tue, 29 Nov 2016 23:39:20 -0700 Subject: Add comments. --- Rakefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index df1f8ac0..9504f81a 100644 --- a/Rakefile +++ b/Rakefile @@ -2,13 +2,15 @@ desc 'Pulls down the CE, EE, Omnibus and Runner git repos and merges the content task :pull_repos do require 'yaml' - config = YAML.load_file('./nanoc.yaml') - # By default won't delete any directories, requires all relevant directories # be empty. Run `RAKE_FORCE_DELETE=true rake pull_repos` to have directories # deleted. force_delete = ENV['RAKE_FORCE_DELETE'] + # Parse the config file and create a hash. + config = YAML.load_file('./nanoc.yaml') + + # Pull products data from the config. ce = config["products"]["ce"] ee = config["products"]["ee"] omnibus = config["products"]["omnibus"] -- cgit v1.2.3