Permalink
Browse files

support user loadable repos

  • Loading branch information...
1 parent 97ed3aa commit a23fc6cfc3e47088c916d88b800d6f5e5bf05437 @peterhoeg peterhoeg committed Apr 16, 2012
Showing with 6 additions and 1 deletion.
  1. +1 −0 config/app.yaml
  2. +5 −1 config/common.rb
View
@@ -1 +1,2 @@
theme_dir: ww
+repos: git:///home/local/src/biz/magento
View
@@ -18,6 +18,10 @@
set :wp_debug, false
set :wp_lang, ''
-set(:repository, "git@github.com:speartail/#{application}.git") if [ 'magento', 'wordpress' ].include?(application)
+if config.repos
+ set :repository, config.repos
+else
+ set(:repository, "git@github.com:speartail/#{application}.git") if [ 'magento', 'wordpress' ].include?(application)
+end
puts "Set initial password: #{PASSWORD}"

0 comments on commit a23fc6c

Please sign in to comment.