Sha256: 524c6f7bdd9eb57216e40eae6c54ee85f50deecf173be3865b050a6840b9bcc9

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 KB

Contents

# = TITLE:
#
#   Main DSL Loader
#
# = COPYING:
#
#   Copyright (c) 2007 Psi T Corp.
#
#   This file is part of the ProUtils' Ratch program.
#
#   Ratch is free software: you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation, either version 3 of the License, or
#   (at your option) any later version.
#
#   Ratch is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with Ratch.  If not, see <http://www.gnu.org/licenses/>.

require 'yaml'      # make it generally available
require 'rbconfig'  # replace with facets/system?

require 'ratch/dsl/options'
require 'ratch/dsl/batch'
require 'ratch/dsl/build'
require 'ratch/dsl/task'
require 'ratch/dsl/console'
require 'ratch/dsl/file'
require 'ratch/dsl/argv'
require 'ratch/dsl/meta'

# Load ratch dsl functionality into toplevel.
# This loads into the toplevel's metaclass b/c we don't want
# all these utilies to invade every object [do we?]

class << self
  include Ratch::Dsl::Options
  include Ratch::Dsl::Batch
  include Ratch::Dsl::Builds
  include Ratch::Dsl::Tasks
  include Ratch::Dsl::Filing
  include Ratch::Dsl::Console
  include Ratch::Dsl::Argv
  include Ratch::Dsl::Meta
end

# run main task
END { run_main }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ratch-0.4.0 lib/ratch/dsl.rb
ratch-0.4.1 lib/ratch/dsl.rb