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

Preface

Maybe every Ruby developer who is familiar with Rails knows what Rake is. However, many of them are unaware of the complete power of this tool and its real aim. The goal of this book is to improve this situation.

Have you ever had to perform boring, repetitive tasks while deploying your project? I assume here that a project is not only something written in Ruby or another programming language, but it can also consist of operations with files. For example, it might be a book or the documentation of a project that you are writing in Markdown and then compiling into HTML. Or it can be compiling a lot of files to one package. Have you ever wished to build a project or run tests on a project whenever it undergoes a change? All this stuff is easily made possible by programs called software management tools. Rake is one such program.

Rake was initially implemented as a Ruby version of Make—a commonly used build utility. However, calling Rake a build utility undermines its true power. Rake is actually an automation tool—it's a way to put all those tasks that you perform under the project into one neat and tidy place.

Basically, build automation includes the following processes:

  • Compiling the computer source code into binary code
  • Packaging the binary code
  • Running tests
  • Deployment to production systems
  • Creating documentation and/or release notes

Rake can be used in all these situations, and this book shows you how Rake performs all the steps. After reading this book, you will know Rake better and be able to write more clear and robust Rake code.

主站蜘蛛池模板: 香格里拉县| 赫章县| 金秀| 定西市| 洪湖市| 海口市| 龙口市| 灵武市| 崇义县| 城固县| 广宁县| 静海县| 宣城市| 六安市| 桐梓县| 手游| 苏尼特右旗| 安泽县| 长垣县| 桐梓县| 华容县| 新建县| 巩留县| 苍梧县| 海南省| 阳高县| 二手房| 鄂托克前旗| 五大连池市| 重庆市| 申扎县| 信宜市| 中方县| 万盛区| 衡南县| 钟祥市| 封开县| 织金县| 军事| 修文县| 读书|