Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Rake Task Management Essentials

You're reading from   Rake Task Management Essentials Deploy, test, and build software to solve real-world automation challenges using Rake.

Arrow left icon
Product type Paperback
Published in Apr 2014
Publisher
ISBN-13 9781783280773
Length 122 pages
Edition Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Andrey Koleshko Andrey Koleshko
Author Profile Icon Andrey Koleshko
Andrey Koleshko
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Rake Task Management Essentials
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
1. The Software Task Management Tool – Rake FREE CHAPTER 2. Working with Files 3. Working with Rules 4. Cleaning Up a Build 5. Running Tasks in Parallel 6. Debugging Rake Tasks 7. Integration with Rails 8. Testing Rake Tasks 9. Continuous Integration 10. Relentless Automation Index

Index

A

  • args variable / The second variant
  • arguments, passing to tasks
    • first alternative / The first alternative
    • second variant / The second variant

B

  • backtrace
    • about / Using command-line arguments for debugging
    • working with / Using command-line arguments for debugging
  • blog generator / The characteristics of the file task dependencies
  • BlogGenerator class / The characteristics of the file task dependencies
  • bundler gem
    • about / Applying multitasks in practice
    • URL / Applying multitasks in practice

C

  • Capistrano tool
    • Rake, used by / Examples of Rake being used by famous gems
    • URL / Examples of Rake being used by famous gems
    • Rake implementation, extending / Capistrano extending the Rake implementation
  • clean task / The cleaning tasks
  • clobber task / The cleaning tasks
  • command-line arguments
    • using / The command-line arguments
    • used, for debugging / Using command-line arguments for debugging
  • common prerequisite
    • used, for multiple task definitions / Multiple task definitions with a common prerequisite
  • config file, automatically generated
    • practical example / A practical example of automatically generating a config file
  • cron
    • about / Recurrent running of tasks
    • URL / Recurrent running of tasks
  • custom rake tasks
    • defining / Defining custom rake tasks
    • using, in Rails / Custom rake tasks in a Rails project

D

  • debugger tool
    • used, for debugging Ruby code / Using the Ruby approach to debug a Rake project
    • URL / Using the Ruby approach to debug a Rake project
  • debugging
    • command-line arguments, used for / Using command-line arguments for debugging
  • dependency resolution
    • getting, --prereqs used / Getting a dependency's resolution with --prereqs
  • desc method / The command-line arguments
  • directory method
    • used, for creating folder / Creating a folder with the directory method
  • duplicated file tasks
    • eliminating, rule method used / Using a rule to get rid of the duplicated file tasks

E

  • Emacs editor / Using the FileList module functionality to collect the files
  • ENV variable / Passing arguments to the tasks, The first alternative

F

  • FileList module
    • used, for collecting files / Using the FileList module functionality to collect the files
  • file lists
    • transforming, pathmap method used / Using pathmap to transform file lists
  • files
    • file task, used for working with / Using file tasks to work with files
    • collecting, FileList module used / Using the FileList module functionality to collect the files
  • file task dependencies
    • characteristics / The characteristics of the file task dependencies
  • file tasks
    • used, for working with files / Using file tasks to work with files
  • file tasks duplication
    • about / Understanding the duplication of the file tasks
  • file utilities, Rake
    • FileList module / Using the FileList module functionality to collect the files
    • pathmap method / Using pathmap to transform file lists
    • FileUtils module / Introducing the FileUtils module
  • FileUtils#mkdir_p method / Creating a folder with the directory method
  • FileUtils.rm method / The characteristics of the file task dependencies
  • FileUtils module
    • about / Introducing the FileUtils module
  • folder
    • creating, directory method used / Creating a folder with the directory method

G

  • gems
    • Rake usage, examples / Examples of Rake being used by famous gems
    • Rake, used as task executor / The pain of task execution
  • generators
    • about / Thor – the next generation of Rake
  • Git
    • about / Introducing Jenkins
    • URL / Introducing Jenkins
  • git-scribe tool
    • using / Setting up a project
  • global Rakefile
    • used, for running tasks / Using global Rakefiles to run tasks anywhere

H

  • heredoc / The characteristics of the file task dependencies

I

  • import method
    • used, for loading Rakefiles / Using the import method to load other Rakefiles

J

  • Jenkins
    • about / Introducing Jenkins
    • URL / Introducing Jenkins
    • working / Introducing Jenkins
    • setting up / Setting up Jenkins
    • configuring, to run rake tasks / Configuring Jenkins to run rake tasks

M

  • message variable / The second variant
  • method_from_rakefile() method / Using the import method to load other Rakefiles
  • multiple tasks
    • defining, with common prerequisite / Multiple task definitions with a common prerequisite
  • multiple tasks definitions
    • arguments, passing to tasks / Passing arguments to the tasks, The first alternative, The second variant
  • multitask method
    • used, for defining tasks / Defining tasks with parallel prerequisites
  • multitasks
    • applying / Applying multitasks in practice
  • multitasks thread safety
    • about / Thread safety of multitasks

P

  • --prereqs
    • used, for getting dependency resolution / Getting a dependency's resolution with --prereqs
  • parallel prerequisites
    • used, for defining tasks / Defining tasks with parallel prerequisites
  • parallel task execution
    • about / Defining tasks with parallel prerequisites
  • pathmap method
    • used, for transforming file lists / Using pathmap to transform file lists
  • prerequisites method / The characteristics of the file task dependencies
  • project
    • setting up / Setting up a project

R

  • --rules option
    • used, for tracing rule resolution / Using the --rules option to trace the rule resolution
  • race conditions
    • preventing / Thread safety of multitasks
  • Rails
    • Rake, integrating in / Introducing Rake's integration with Rails
    • custom rake tasks, using in / Custom rake tasks in a Rails project
  • Rake
    • installing / Installing Rake
    • integrating, in Rails / Introducing Rake's integration with Rails
  • rake -T command / The command-line arguments
  • Rake code conventions
    • about / The code conventions of Rake
    • using / The code conventions of Rake
  • Rakefile
    • about / Introducing rake tasks
    • creating / Introducing rake tasks
  • Rakefile, global
    • used, for running tasks / Using global Rakefiles to run tasks anywhere
  • Rakefiles
    • loading, import method used / Using the import method to load other Rakefiles
  • Rake project
    • debugging, Ruby approach used / Using the Ruby approach to debug a Rake project
  • Rake project structure
    • about / The structure of a Rake project
    • import method, using to load Rakefiles / Using the import method to load other Rakefiles
    • rake tasks, running from other tasks / Running rake tasks from other tasks
  • rake tasks
    • about / Introducing rake tasks
    • running, from other tasks / Running rake tasks from other tasks
    • tests, writing for / Writing tests for rake tasks
  • rake tasks, custom
    • defining / Defining custom rake tasks
  • rake tasks, testing
    • need for / The need for tests
  • rake tasks dependencies
    • prerequisites / Task dependencies – prerequisites
    • multiple tasks definitions / Multiple tasks definitions, The first alternative, The second variant
  • Rake usage examples
    • task, executing / The pain of task execution
    • test, running in Sinatra / Sinatra using Rake to run tests
    • documentation, generating in Sinatra / Sinatra using Rake to generate documentation
    • in Capistrano / Capistrano extending the Rake implementation
    • other Sinatra examples / Other examples of Sinatra using Rake
  • regular expression
    • used, for matching tasks / Using a regular expression to match more tasks
  • repeated runs, rake tasks
    • about / Recurrent running of tasks
  • Rspec
    • URL / Writing tests for rake tasks
  • Ruby approach
    • used, for debugging Rake project / Using the Ruby approach to debug a Rake project
  • rule method
    • used, for eliminating duplicated file tasks / Using a rule to get rid of the duplicated file tasks
    • source, dynamically detecting for / Detecting a source for the rule dynamically
  • rule resolution
    • tracing, --rules option used / Using the --rules option to trace the rule resolution

S

  • --suppress-backtrace option / Using command-line arguments for debugging
  • Sinatra
    • Rake used, for running tests / Sinatra using Rake to run tests
    • Rake used, for generating documentation / Sinatra using Rake to generate documentation
  • Sinatra gem
    • Rake, used by / Examples of Rake being used by famous gems
    • URL / Examples of Rake being used by famous gems
    • Rake usage, examples / Other examples of Sinatra using Rake
  • source
    • dynamically detecting, for rule method / Detecting a source for the rule dynamically

T

  • task execution
    • about / The pain of task execution
  • tasks
    • running, global Rakefiles used / Using global Rakefiles to run tasks anywhere
    • arguments, passing to / Passing arguments to the tasks
    • matching, regular expression used / Using a regular expression to match more tasks
    • defining, with parallel prerequisites / Defining tasks with parallel prerequisites
    • defining, multitask method used / Defining tasks with parallel prerequisites
  • Task Scheduler tool
    • URL / Recurrent running of tasks
  • task work
    • cleaning / The cleaning tasks
  • Test-driven Development (TDD) / Writing tests for rake tasks
  • tests
    • writing, for rake tasks / Writing tests for rake tasks
    • running / Writing tests for rake tasks
  • Thor
    • URL / Thor – the next generation of Rake
    • versus Rake / Thor – the next generation of Rake
  • TITLE variable / The first alternative

V

  • Vagrant
    • URL / Setting up Jenkins
  • version control system
    • Git / Introducing Jenkins
  • VirtualBox
    • URL / Setting up Jenkins

W

  • whenever gem
    • installing / Recurrent running of tasks

Y

  • Yardoc
    • URL / Sinatra using Rake to generate documentation
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image