Make sure we have the external dependencies for building the susy and compass examples.

This commit is contained in:
Chris Eppstein 2009-11-27 11:41:58 -08:00
parent b894d752c7
commit 694c04d0e1
3 changed files with 6 additions and 3 deletions

View File

@ -0,0 +1,3 @@
require File.join(File.dirname(__FILE__), '..', 'downloader')
install_from_github('chriseppstein', 'yui-compass-plugin', 'yui')

View File

@ -24,8 +24,8 @@ def fetch(uri_str, limit = 10)
end
end
def install_from_github(user, project, ext_name, working_directory = Dir.pwd)
download_link = "http://github.com/#{user}/#{project}/zipball/master"
def install_from_github(user, project, ext_name, branch = "master", working_directory = Dir.pwd)
download_link = "http://github.com/#{user}/#{project}/zipball/#{branch}"
extdir = File.join(working_directory,'extensions')
if !File.exists?(extdir)

View File

@ -1,3 +1,3 @@
require File.join(File.dirname(__FILE__), '..', 'downloader')
install_from_github('ericam', 'compass-susy-plugin', 'susy')
install_from_github('ericam', 'compass-susy-plugin', 'susy', 'edge')