#273. Make more flexible clear_controllers #286

Merged
merged 2 commits into from Nov 27, 2012

Projects

None yet

2 participants

@mgallego
Contributor

Change the clear_controllers task

In the deploy.rb file:

  • set :clear_controllers, false: Don't remove any controller
  • set :clear_controllers, true: Remove app_*.php controllers
  • set :clear_controllers, ['app_dev.php', 'app_test.php', 'config.php' , ....]: Remove the files in the array
Collaborator

tests?

Collaborator

Great. Did you fix your code thanks to the examples (tests) you wrote?

@willdurand willdurand merged commit 067fec8 into everzet:master Nov 27, 2012
Contributor

Yes, with the tests I found that it could further simplify.

Collaborator

:-)

Thanks.

William Durand | http://www.williamdurand.fr

On Tue, Nov 27, 2012 at 12:42 PM, Moises Gallego
notifications@github.comwrote:

Yes, with the tests I found that it could further simplify.


Reply to this email directly or view it on GitHubhttps://github.com/everzet/capifony/pull/286#issuecomment-10754830.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment