Sha256: 5bfbdadb9845893a9c1a32fac12554a941b3a27610b32abd5a9140fb134ac9eb

Contents?: true

Size: 957 Bytes

Versions: 9

Compression:

Stored size: 957 Bytes

Contents

#encoding: UTF-8
module Procemon

  # load up helpers

  Dir.glob(\
      File.join(\
          File.dirname(__FILE__),\
          __FILE__.to_s.split(File::Separator).last.split('.')[0],
          '**',"*.{rb,ru}"\
      )\
  ).uniq.sort.each do |one_helper_file|
    load one_helper_file
  end


  def self.init_all

    # process the ARGV parameters
    process_parameters

    # project name
    set_app_name_by_root_folder

    # init temporarily directory
    tmpdir_init

    # create config singleton
    generate_config

    # load meta-s
    meta_load

    # mount libs
    mount_libs

    # mount offline modules
    mount_modules

    # garbage collect
    ObjectSpace.garbage_collect

    # documentation generate
    generate_documentation(Application.create_documentation)

    # Daemonize
    Daemon.init

  end

  ### Load the requirements in to the general Module
  #load File.expand_path(File.join(File.dirname(__FILE__),'procemon'


end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
procemon-0.0.9 lib/procemon.rb
procemon-0.0.8 lib/procemon.rb
procemon-0.0.7 lib/procemon.rb
procemon-0.0.6 lib/procemon.rb
procemon-0.0.5 lib/procemon.rb
procemon-0.0.4 lib/procemon.rb
procemon-0.0.3 lib/procemon.rb
procemon-0.0.2 lib/procemon.rb
procemon-0.0.1 lib/procemon.rb