From a9837f3cfc0834bcaeee24edace79013891a8681 Mon Sep 17 00:00:00 2001 From: Devan Goodwin Date: Sat, 15 Oct 2011 13:17:07 -0300 Subject: [PATCH] HACKING tips updated. --- HACKING | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/HACKING b/HACKING index 3cd360c..8e4832a 100644 --- a/HACKING +++ b/HACKING @@ -1,5 +1,21 @@ -To run all tests, install the python-nose package and from the root of the +To run all tests, install the python-nose package and from the root of the project: ./runtests.py + + +When developing code for tito there are a couple ways you can test: + +"bin/tito-dev" is a script that will run code from the local checkout +rather than what is installed on the system. + +And of course, you can always use the installed tito to replace itself with a test build of the latest *committed* code in your git HEAD. + + tito build --rpm --test -i + +If you screw anything up inside tito itself, you can just: + + rpm -e tito + yum install tito +