Module: OrderlyGarden
- Defined in:
- lib/orderly_garden.rb,
lib/orderly_garden/dsl.rb,
lib/orderly_garden/version.rb
Overview
A set of tools for Rake and Ruby workflows, to help keep things neat and tidy.
Defined Under Namespace
Modules: DSL
Constant Summary collapse
- VERSION =
"0.2.0".freeze
Class Method Summary collapse
-
.init! ⇒ Object
Initialize ‘orderly_garden`.
Class Method Details
.init! ⇒ Object
Initialize ‘orderly_garden`. Configures Rake, and loads some handy tasks.
9 10 11 12 13 14 15 16 |
# File 'lib/orderly_garden.rb', line 9 def self.init! # TODO: Pare this to CPU count, or possibly half that because hyperthreading usually is not our # TODO: friend. Rake.application..thread_pool_size ||= 4 # Time.zone = 'America/Los_Angeles' task_files.each { |fname| load fname } end |