Make sure we have the external dependencies for building the susy and compass examples.
This commit is contained in:
parent
b894d752c7
commit
694c04d0e1
3
examples/compass/bootstrap.rb
Normal file
3
examples/compass/bootstrap.rb
Normal file
@ -0,0 +1,3 @@
|
||||
require File.join(File.dirname(__FILE__), '..', 'downloader')
|
||||
|
||||
install_from_github('chriseppstein', 'yui-compass-plugin', 'yui')
|
@ -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)
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user