官术网_书友最值得收藏!

Chapter 1. The Software Task Management Tool – Rake

In this chapter, we will cover the installation of Rake, the definition of basic terms such as rake task and Rakefile, and how to use them for easy programming issues. The introduction will be given using straightforward examples to explain the terms as clearly as possible. You will see that Rake is a tool that is written in the Ruby programming language, and that's why any Ruby code can be written in a Rake application. Also, you have the choice of using any available Ruby library in a Rake project. This feature makes Rake the winner compared to many other build tools, which use their own limited languages. The chapter will serve as a base for introducing Rake's Domain Specific Language (DSL) and project file structuring.

In this chapter, we will cover the following topics:

  • Installing Rake
  • Introducing rake tasks
  • The command-line arguments
  • Using global Rakefiles to run tasks anywhere
  • Defining custom rake tasks
  • The structure of a Rake project
  • The code conventions of Rake
主站蜘蛛池模板: 芒康县| 钟祥市| 普陀区| 长子县| 平泉县| 朝阳区| 丰宁| 宣化县| 丰原市| 汕头市| 射阳县| 遵化市| 通州区| 商水县| 乐亭县| 太湖县| 斗六市| 抚松县| 溆浦县| 天峻县| 普兰店市| 塘沽区| 南靖县| 眉山市| 三河市| 宁安市| 湘潭县| 那坡县| 高要市| 武冈市| 衡南县| 桂东县| 马龙县| 行唐县| 乌鲁木齐县| 马尔康县| 扎赉特旗| 阳泉市| 沙湾县| 广南县| 信阳市|