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

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
主站蜘蛛池模板: 武鸣县| 金坛市| 张家口市| 濮阳县| 长葛市| 安泽县| 三原县| 湛江市| 龙泉市| 镇安县| 寿宁县| 广饶县| 城固县| 濮阳县| 峨眉山市| 长岭县| 鄱阳县| 龙门县| 南和县| 浦城县| 黔江区| 曲麻莱县| 永德县| 方山县| 湖口县| 河池市| 北海市| 上思县| 平塘县| 汉川市| 松江区| 泸西县| 罗江县| 固安县| 久治县| 潞西市| 丹巴县| 永丰县| 通山县| 宜都市| 双流县|