diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-11-30 09:39:20 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-11-30 09:39:20 +0300 |
commit | 6fe237c878ac047b9f60236d88a33ac31a2d5061 (patch) | |
tree | 0a76e3c9754efdafc869ec7b62b0136f106f1b4d /Rakefile | |
parent | ee40c7fb78c96b3471130bb78335c4f07b5b1d58 (diff) |
Add comments.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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"] |