Created
November 5, 2009 05:42
-
-
Save dvhthomas/226800 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$LOAD_PATH << './source/Tasks/' | |
# Command configuration items - if this changes it should change | |
# for all users | |
APP_SETTINGS = YAML.load_file('common.yml') | |
# Create user settings if not present | |
setting_template = "config.yml.template" | |
if !File.exist?(setting_template.ext('')) | |
p setting_template.ext('') | |
cp setting_template, setting_template.ext('') | |
end | |
# Load up the desired deployment target or default to development | |
# This is set at the irake command line using DEPLOY=production | |
DEPLOYMENT= (ENV['DEPLOY'] or 'development') | |
USER_SETTINGS = YAML.load_file('config.yml')[DEPLOYMENT] | |
require 'build.rb' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment