How do I make a Rake Task run after all other tasks? (i.e. a Rake AfterBuild task)

前端 未结 7 983
感动是毒
感动是毒 2021-02-02 12:39

I\'m new to Rake and using it to build .net projects. What I\'m interested in is having a Summary task that prints out a summary of what has been done. I want this task to alw

7条回答
  •  遥遥无期
    2021-02-02 13:26

    I don't know if it's the best way but it's the simpler:

    Make all your "public tasks" Summary ones that call real tasks.

    task :compile => :realcompile do
       summary stuff
    end
    

提交回复
热议问题