Sha256: c745950c5c8708c8b4f2466d88b88e23da0807bed22882d9ea7998052215e742

Contents?: true

Size: 761 Bytes

Versions: 20

Compression:

Stored size: 761 Bytes

Contents

#require 'yaml'
require 'thor'
require 'FileUtils'

module Uppercutbuild
	#class Config < Thor::Group
		#include Thor::Actions
		
		#@config_file = ".nu/options.yaml"
		
		#def self.get_config
		#	unless File.exists? @config_file
		#		FileUtils.touch @config_file
		#		append_file @config_file, YAML::dump({})	
		#	end
		#	cd = YAML.load_file @config_file
		#	cd = ask_about_libdir cd
		#	
		#	save_file cd
		#	cd
		#end
		
		#def self.ask_about_libdir(config)
		#	if config['lib'].nil?
		#		loc = ask "Where do you want me to copy things to?"
		#		config = {'lib'=>loc}
		#	end
		#	config
		#end
		
		#def self.save_file(config)
		#	File.open(@config_file, 'w') do |out|
		#		YAML.dump( config, out)
		#	end
		#end
	#end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
uppercutbuild-1.4.2.0 bin/uppercut/config.rb
uppercutbuild-1.4.1.0 bin/uppercut/config.rb
uppercutbuild-1.4.0.0 bin/uppercut/config.rb
uppercutbuild-1.3.0.0 bin/uppercut/config.rb
uppercutbuild-1.2.0.0 bin/uppercut/config.rb
uppercutbuild-1.1.2.0 bin/uppercut/config.rb
uppercutbuild-1.1.0.0 bin/uppercut/config.rb
uppercutbuild-1.0.6.0 bin/uppercut/config.rb
uppercutbuild-1.0.5.0.20101008 bin/uppercut/config.rb
uppercutbuild-1.0.5.0 bin/uppercut/config.rb
uppercutbuild-1.0.4.0 bin/uppercut/config.rb
uppercutbuild-1.0.3.0.20100818 bin/uppercut/config.rb
uppercutbuild-1.0.2.0.20100810 bin/uppercut/config.rb
uppercutbuild-1.0.1.0.20100809 bin/uppercut/config.rb
uppercutbuild-1.0.0.0.20100806 bin/uppercut/config.rb
uppercutbuild-0.9.0.346.20100805 bin/uppercut/config.rb
uppercutbuild-0.9.0.345.20100805 bin/uppercut/config.rb
uppercutbuild-0.9.0.340 bin/uppercut/config.rb
uppercutbuild-0.9.0.337 bin/uppercut/config.rb
uppercutbuild-0.9.0.334 bin/uppercut/config.rb