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

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
主站蜘蛛池模板: 水城县| 马边| 绥中县| 石狮市| 多伦县| 南江县| 壶关县| 屏东市| 利川市| 留坝县| 建阳市| 玉林市| 富蕴县| 图们市| 荃湾区| 通渭县| 新干县| 荣昌县| 巩留县| 杭锦旗| 通河县| 海盐县| 普定县| 吕梁市| 泗阳县| 鄱阳县| 静海县| 五台县| 额尔古纳市| 谷城县| 封丘县| 横峰县| 长子县| 阿克陶县| 晋中市| 皋兰县| 佛坪县| 祁阳县| 昭平县| 三明市| 湟中县|