> > > > On Wednesday, 7 January 2015 18:36:00 UTC+5:30, Daniel Farina wrote: > > How to specify BUILD_DIR and CACHE_DIR arguments for custom buildpacks? > > Should I set heroku config:set BUILD_DIR=path_2_src or put it in > the > > compile,detect scripts? > > My app is not compiling when source files are put in another dir in > app's > > root folder. > These are passed as arguments to the program you write for the build > pack. You do not set them. > In shell, these would be $1 (for BUILD_DIR) and $2 (for CACHE_DIR) > customarily. There's one more, for "ENV_DIR", see > https://devcenter.heroku.com/articles/buildpack-api for details. > I'm not sure exactly what your problem is with the compilation, but > one maddening possibility I've seen that sounds akin to yours if one > is using Macintosh is that "git" tracks content in a case sensitive > manner, and as a general rule Macintosh file systems are not so. One > can confirm things by seeing multiple case variations of the same > directory in git ls-tree -r HEAD.
> On Wed, Jan 7, 2015 at 2:46 AM, aspal <[email protected] <javascript:>> > wrote: > Thanks for replying, Daniel. You are right. I figured it out, while working on a c++ buildpack. I will check out the link u have given. -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
