logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 9c88d1b99ea2baa5e55251dc98f10b1ee0559ee9
parent: 24ba7c9762a583f3e1105162f4a43a22a17a4627
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Thu, 16 Feb 2017 02:34:21 +0100

Speed up capistrano deployments

Diffstat:

MCapfile1+
MGemfile1+
MGemfile.lock3+++
3 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Capfile b/Capfile @@ -8,6 +8,7 @@ require 'capistrano/rbenv' require 'capistrano/bundler' require 'capistrano/yarn' require 'capistrano/rails/assets' +require 'capistrano/faster_assets' require 'capistrano/rails/migrations' Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r } diff --git a/Gemfile b/Gemfile @@ -82,6 +82,7 @@ group :development do gem 'capistrano-rails' gem 'capistrano-rbenv' gem 'capistrano-yarn' + gem 'capistrano-faster-assets', '~> 1.0' end group :production do diff --git a/Gemfile.lock b/Gemfile.lock @@ -89,6 +89,8 @@ GEM capistrano-bundler (1.2.0) capistrano (~> 3.1) sshkit (~> 1.2) + capistrano-faster-assets (1.0.2) + capistrano (>= 3.1) capistrano-harrow (0.5.3) capistrano-rails (1.2.2) capistrano (~> 3.1) @@ -454,6 +456,7 @@ DEPENDENCIES browserify-rails bullet capistrano + capistrano-faster-assets (~> 1.0) capistrano-rails capistrano-rbenv capistrano-yarn