librelist archives

« back to archive

Skipping empty directory cleaning on install

Skipping empty directory cleaning on install

From:
Misty De Meo
Date:
2011-05-25 @ 04:02
Is it possible to have Homebrew skip its cleaning up of empty directories in
the "finishing up" phase? I'm creating a formula for a game which creates an
empty directory in which to save its savegames, and it fails to save with an
error if that directory is removed.

Thanks,
Misty

Re: [homebrew] Skipping empty directory cleaning on install

From:
Adam Vandenberg
Date:
2011-05-25 @ 04:19
Use the "skip_clean" method; grep through existing formulae for examples.
You can specify specific binaries/folders to skip, or use the symbol
":all" to clean nothing.

On Tue, May 24, 2011 at 9:02 PM, Misty De Meo <mistydemeo@gmail.com> wrote:
> Is it possible to have Homebrew skip its cleaning up of empty directories in
> the "finishing up" phase? I'm creating a formula for a game which creates an
> empty directory in which to save its savegames, and it fails to save with an
> error if that directory is removed.
>
> Thanks,
> Misty
>

Re: [homebrew] Skipping empty directory cleaning on install

From:
Misty De Meo
Date:
2011-05-25 @ 14:01
Thanks, Adam. That did the trick.

On Tue, May 24, 2011 at 11:19 PM, Adam Vandenberg <flangy@gmail.com> wrote:

> Use the "skip_clean" method; grep through existing formulae for examples.
> You can specify specific binaries/folders to skip, or use the symbol
> ":all" to clean nothing.
>
> On Tue, May 24, 2011 at 9:02 PM, Misty De Meo <mistydemeo@gmail.com>
> wrote:
> > Is it possible to have Homebrew skip its cleaning up of empty directories
> in
> > the "finishing up" phase? I'm creating a formula for a game which creates
> an
> > empty directory in which to save its savegames, and it fails to save with
> an
> > error if that directory is removed.
> >
> > Thanks,
> > Misty
> >
>