Created
July 14, 2009 20:01
-
-
Save richievos/147148 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
require 'fileutils' | |
namespace :sprout do | |
desc "Fakes out sprout making it think your flex3sdk tool's exes are in your desired flex sdk path (FLEX_SDK_PATH)" | |
task :fake_flex_sdk do | |
sdk_cache = File.join(ENV['HOME'], '.sprouts', 'cache', 'sprout-flex3sdk-tool-3.3.0') | |
FileUtils.mkdir_p sdk_cache | |
FileUtils.touch(File.join(sdk_cache, 'flex_sdk_3.zip')) | |
FileUtils.ln_s ENV['FLEX_SDK_PATH'], File.join(sdk_cache, 'archive') | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment