Re:Where you should keep your checked-out source code
by byoung2 on Thursday August 12, 2010 @11:24AM
(#1598306)
because build scripts have hard-coded, absolute paths
We usually define these paths as constants in a config file (e.g. LIB_DIR, STATIC_DIR, etc.) and then use the constants in the rest of the code so that if you need to change it in your dev environment it's easy. It also makes it easy if we wanted to move those directories completely (e.g. to a different mount).
[ Parent
| on HN ]
There are no comments on this comment yet.