Sha256: 7177f1b5ac68ee85a249609296bb0c50a97afeca583c5e512b3f348400034468

Contents?: true

Size: 273 Bytes

Versions: 4

Compression:

Stored size: 273 Bytes

Contents

#!/usr/bin/env ruby
require 'frank'

begin
  settings = YAML.load_file('settings.yml')
  Frank.new do
    settings.each do |name, value|
      set name.to_s, value
    end
    set :proj_dir, Dir.pwd
  end
rescue Errno::ENOENT
  puts "Frank could not find settings.yml."
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
frank-0.2.3 bin/frankup
frank-0.2.2 bin/frankup
frank-0.2.1 bin/frankup
frank-0.2.0 bin/frankup