How to have different robots.txt files in developpment and production environment?

Thanks for your reply, i will test all of this and see what is the best to make it work properly.