diff --git a/examples/compass/bootstrap.rb b/examples/compass/bootstrap.rb new file mode 100644 index 00000000..fcc0c7c4 --- /dev/null +++ b/examples/compass/bootstrap.rb @@ -0,0 +1,3 @@ +require File.join(File.dirname(__FILE__), '..', 'downloader') + +install_from_github('chriseppstein', 'yui-compass-plugin', 'yui') \ No newline at end of file diff --git a/examples/downloader.rb b/examples/downloader.rb index eef35e4e..1bc37f9f 100644 --- a/examples/downloader.rb +++ b/examples/downloader.rb @@ -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) diff --git a/examples/susy/bootstrap.rb b/examples/susy/bootstrap.rb index c7b7d181..4689ec3f 100644 --- a/examples/susy/bootstrap.rb +++ b/examples/susy/bootstrap.rb @@ -1,3 +1,3 @@ require File.join(File.dirname(__FILE__), '..', 'downloader') -install_from_github('ericam', 'compass-susy-plugin', 'susy') \ No newline at end of file +install_from_github('ericam', 'compass-susy-plugin', 'susy', 'edge')