Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-11-30 09:39:20 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-11-30 09:39:20 +0300
commit6fe237c878ac047b9f60236d88a33ac31a2d5061 (patch)
tree0a76e3c9754efdafc869ec7b62b0136f106f1b4d /Rakefile
parentee40c7fb78c96b3471130bb78335c4f07b5b1d58 (diff)
Add comments.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 4 insertions, 2 deletions
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"]