Rake Task Management Essentials
暫譯: Rake 任務管理精要

Andrey Koleshko

  • 出版商: Packt Publishing
  • 出版日期: 2014-04-24
  • 售價: $1,190
  • 貴賓價: 9.5$1,131
  • 語言: 英文
  • 頁數: 93
  • 裝訂: Paperback
  • ISBN: 1783280778
  • ISBN-13: 9781783280773
  • 海外代購書籍(需單獨結帳)

商品描述

Deploy, test, and build software to solve realworld automation challenges using Rake

About This Book

  • Solve real-world automation challenges with human readable code
  • Build or deploy an application package quickly
  • Easy-to-follow instructions to speed up tasks and manage them efficiently

Who This Book Is For

If you are a developer who is acquainted with the Ruby language and want to speed up writing the code concerned with files, then this book is for you. To start reading this book, a basic knowledge of Ruby is required; however, an extensive experience with the language is not necessary.

What You Will Learn

  • Use the rake command-line tool efficiently
  • Learn Rake's language to write clear custom tasks
  • Run tasks in parallel to speed up the overall runtime of the tasks used
  • Work with file transformations to manage file tasks
  • Refactor a Rake project with the rules, prerequisites, and other technical features built into Rake tools
  • Configure a scheduler to run recurring tasks on a server
  • Configure continuous integration with Rake using a Jenkins example
  • Integrate Rake with the Rails web framework to write Rails-specific rake tasks

In Detail

Rake is a build automation tool written in Ruby. It allows you to specify tasks and describe dependencies as well as group tasks in a namespace. Rake uses Ruby's anonymous function blocks to define various tasks, allowing the use of the Ruby syntax. Rake's goal is to automate build processes quickly and expressively.

"Rake Task Management Essentials" is a practical guide that covers the latest techniques in building, testing, and debugging rake tasks to solve real-world automation challenges. The book starts with a basic knowledge of Rake, allowing you to solve repetitive tasks. Then it provides you with information about processes performed with files, which is crucial for understanding the application of the tool. It includes demonstrations to show you how tasks can be run in parallel and how they can be applied in practice. Thereafter, it integrates Rake with Ruby with the help of simple and clear examples. By the end of this book, you will know how Rake has changed the programming world, especially in the Ruby community.

商品描述(中文翻譯)

**部署、測試和構建軟體以解決使用 Rake 的現實自動化挑戰**

## 本書介紹
- 使用人類可讀的程式碼解決現實自動化挑戰
- 快速構建或部署應用程式包
- 易於遵循的指示以加速任務並有效管理

## 本書適合誰
如果您是一位熟悉 Ruby 語言的開發者,並希望加快與檔案相關的程式碼撰寫,那麼這本書適合您。開始閱讀本書需要具備基本的 Ruby 知識;然而,並不需要對該語言有廣泛的經驗。

## 您將學到什麼
- 高效使用 rake 命令行工具
- 學習 Rake 語言以撰寫清晰的自定義任務
- 並行執行任務以加速所使用任務的整體執行時間
- 處理檔案轉換以管理檔案任務
- 使用 Rake 工具內建的規則、前置條件和其他技術特性重構 Rake 專案
- 配置排程器以在伺服器上執行定期任務
- 使用 Jenkins 範例配置 Rake 的持續整合
- 將 Rake 與 Rails 網頁框架整合以撰寫 Rails 特定的 rake 任務

## 詳細內容
Rake 是一個用 Ruby 編寫的構建自動化工具。它允許您指定任務並描述依賴關係,還可以將任務分組到命名空間中。Rake 使用 Ruby 的匿名函數區塊來定義各種任務,允許使用 Ruby 語法。Rake 的目標是快速且表達性地自動化構建過程。

《Rake 任務管理要點》是一本實用指南,涵蓋了構建、測試和調試 rake 任務以解決現實自動化挑戰的最新技術。該書從 Rake 的基本知識開始,幫助您解決重複性任務。然後,它提供有關檔案處理過程的信息,這對於理解該工具的應用至關重要。它包括演示,展示如何並行執行任務以及如何在實踐中應用它們。之後,它通過簡單明瞭的範例將 Rake 與 Ruby 整合。在本書結束時,您將了解 Rake 如何改變程式設計世界,特別是在 Ruby 社群中。