Separting capistrano file

1 view
Skip to first unread message

Victor Louie

unread,
May 21, 2009, 1:32:21 PM5/21/09
to Capistrano
Hi

The Capfile I'm working on it getting really long (1500+ lines).  Is there a way to separate the Capfile into smaller files?

Thank you in advance

Vic


Lee Hambley

unread,
May 21, 2009, 2:52:37 PM5/21/09
to capis...@googlegroups.com
Vic,

Take the individual methods or namespaces, split them into other files (you have a config/deploy.rb, right?) and load them in either your Capfile, or your config/deploy.rb

- Lee

2009/5/21 Victor Louie <victor...@gmail.com>
Reply all
Reply to author
Forward
0 new messages