How to add documentation or comment to RakeFile

I have one Rakefile:

desc 'submodulePull'
task :submodulePull do
  sh 'git submodule update'
  sh 'git submodule foreach git pull'
end

      

I want to add a description of how subodulePull works.

How to add documentation / comment / description of a command to RakeFile that should be ignored by the @run time compiler.

+3


source to share


1 answer


You are already doing this - which means desc

what the description means.



0


source







All Articles