diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-10-17 02:36:21 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-10-17 02:36:21 +0300 |
commit | ac2d5b8d21c02ba018468a27955f98df60ddc388 (patch) | |
tree | 50c38dda4ea65be8c80658df1126818a0b1bf461 /Rakefile | |
parent | c7a96d18e4e11169d4356bce608f6bb7294bf3ba (diff) |
Use the new home page from docs.gitlab.com, but with responsive design.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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| |