Index: Makefile =================================================================== --- a/Makefile +++ b/Makefile @@ -1,15 +1,17 @@ # Makefile to simplify some common AppEngine actions. # Use 'make help' for a list of commands.
I'd rename to 'run', because the task semantically tied to this command is to make Rietveld running, not 'served' or 'serving'. At least that is what I thought of when adding instructions on OpenHatch page.
> On 2012/02/13 10:07:01, Andi Albrecht wrote: > > This breaks setups where dev_appserver.py (and appcfg.py) is somewhere in > $PATH. > If I remove '.' from the SDK_PATH, the DEV_APPSERVER will be > '/dev_appserver.py'. Do you know a way to output '/' only if SDK_PATH is set in > Makefile?
I prefer to look for ../google_appengine by default too, but can't immediately see [1] the way to provide compatibility for PATH setups except rewriting Makefile with Python.
Anyway, committed the current fix. Thanks for review. =)
> On 2012/02/13 18:57:42, techtonik wrote: > > I prefer to look for ../google_appengine by default too, but can't immediately > > see [1] the way to provide compatibility for PATH setups except rewriting > > Makefile with Python. > In general, adding the AppEngine SDK in PATH doesn't make sense for most people. > And if all rietveld devs prefer to have SDK_PATH prepopulated, it's probably a > good idea to just do it.
So I'm going to change the default value to ../google_appengine then. Andi? =)
> On 2012/02/13 19:00:26, M-A wrote: > > On 2012/02/13 18:57:42, techtonik wrote: > > > I prefer to look for ../google_appengine by default too, but can't > immediately > > > see [1] the way to provide compatibility for PATH setups except rewriting > > > Makefile with Python.
> > In general, adding the AppEngine SDK in PATH doesn't make sense for most > people. > > And if all rietveld devs prefer to have SDK_PATH prepopulated, it's probably a > > good idea to just do it. > So I'm going to change the default value to ../google_appengine then.
Andi? =)
I don't have a special opinion, "../google_appengine" is just where the SDK lives in my setup. But in general I'm fine with how it is now.
Adding comment manuall, because -m upload.py option didn't work. Reopening as I've learned some more Makefile spells. Please, check. The only leftover is the sane error message when SDK is not found.