From 9851f080238a7d56c0ca54e0901daaa83cba0560 Mon Sep 17 00:00:00 2001 From: Chris Scott Date: Fri, 27 Jun 2014 15:27:02 -0400 Subject: [PATCH] add Capistrano files --- Capfile | 8 ++++++++ config/deploy/production.rb | 14 ++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 Capfile create mode 100644 config/deploy/production.rb diff --git a/Capfile b/Capfile new file mode 100644 index 0000000..e48c9bc --- /dev/null +++ b/Capfile @@ -0,0 +1,8 @@ +# Includes default deployment tasks +require 'capistrano/deploy' + +# Voce Platforms specific tasks and support +require 'capistrano/platforms/setup' + +# Loads custom tasks from `lib/capistrano/tasks' if you have any defined. +Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r } \ No newline at end of file diff --git a/config/deploy/production.rb b/config/deploy/production.rb new file mode 100644 index 0000000..0539947 --- /dev/null +++ b/config/deploy/production.rb @@ -0,0 +1,14 @@ +set :application, 'voce-seo' +set :repo_url, "git@github.com:voceconnect/#{fetch(:application)}.git" + +set :scm, 'git-to-svn' +set :type, 'plugin' + +set :svn_repository, "http://plugins.svn.wordpress.org/multiple-post-thumbnails/" +set :svn_deploy_to, "trunk" + +set :build_folders, ( + fetch(:build_folders) << %w{ + *config + } +).flatten \ No newline at end of file