Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a task to remove app_dev.php #7

Open
armetiz opened this issue Mar 21, 2014 · 6 comments
Open

Add a task to remove app_dev.php #7

armetiz opened this issue Mar 21, 2014 · 6 comments
Labels

Comments

@armetiz
Copy link
Member

armetiz commented Mar 21, 2014

I think that app_dev.php have to be removed from production or foo-environment,
So, I propose to create a new task, and this task can be added by user only after some specific hook.

@borisguery, what do you think ?

Thomas.

@borisguery
Copy link
Member

I completely missed this issue ^^

I did a simple reverse removal according to the defined symfony environment : a94a3d4

@armetiz
Copy link
Member Author

armetiz commented Apr 7, 2014

So cool !

@armetiz armetiz closed this as completed Apr 7, 2014
@armetiz
Copy link
Member Author

armetiz commented Apr 23, 2014

An option should be used to disable this feature for debuging purpose.

@borisguery
Copy link
Member

Capifony use an option named clear_controllers. We may add a similar option to enable/disable on demand with a default on enable.

@armetiz
Copy link
Member Author

armetiz commented Apr 23, 2014

It should be a great choice. I'll add this ASAP.

@armetiz armetiz reopened this Apr 23, 2014
@carlescliment
Copy link

I have some specific app_xxx.php I do want to deploy. Is there any way to override it? Something like:

set :controllers_to_clear, ["app_dev.php", "app_test.php"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants