[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fab-user] make a deploy know if the preceding parameter was test or pro
From: |
Gregory Tappero |
Subject: |
[Fab-user] make a deploy know if the preceding parameter was test or production |
Date: |
Tue, 17 Mar 2009 11:19:50 +0100 |
Hi,
I have a test() and production() function as well as a deploy()
I would like deploy() to vary depending on the previous parameter (test or prod)
Should i use fab_mode = "test" in test and do a if check or there are
some better way using decorators.
Thanks.
--
o/
- [Fab-user] make a deploy know if the preceding parameter was test or production,
Gregory Tappero <=