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-10-17 02:36:21 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-10-17 02:36:21 +0300
commitac2d5b8d21c02ba018468a27955f98df60ddc388 (patch)
tree50c38dda4ea65be8c80658df1126818a0b1bf461 /Rakefile
parentc7a96d18e4e11169d4356bce608f6bb7294bf3ba (diff)
Use the new home page from docs.gitlab.com, but with responsive design.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 2891b071..d42852d1 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,6 @@
# By default won't delete any directories, requires all relevant directories
-# be empty. Run `RAKE_FORCE_DELETE=true rake pull_repos` to force directory
-# deletion without any confirmation.
+# be empty. Run `RAKE_FORCE_DELETE=true rake pull_repos` to have directories
+# deleted.
desc 'Pulls down the CE, EE, and Omnibus git repos and merges the content of their doc directories into the nanoc site'
task :pull_repos do
force_delete = ENV['RAKE_FORCE_DELETE']
@@ -39,7 +39,11 @@ task :pull_repos do
`rm -rf #{dir}`
end
else
- puts "NOTE: The following directories must be empty otherwise this task will fail: #{dirs.join(', ')}"
+ puts "NOTE: The following directories must be empty otherwise this task" +
+ "will fail:\n#{dirs.join(', ')}"
+ puts "If you want to force-delete the `tmp/` and `content/` folders so \n" +
+ "the task will run without manual intervention, run \n" +
+ "`RAKE_FORCE_DELETE=true rake pull_repos`."
end
products.each do |product|