fab-user
[Top][All Lists]
Advanced

[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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]