chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] chicken-install bug: does not copy all folders whe


From: Peter Bex
Subject: Re: [Chicken-hackers] chicken-install bug: does not copy all folders when cross-compiling
Date: Tue, 3 Nov 2015 20:04:23 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Oct 15, 2015 at 01:33:59PM +0200, Kristian Lein-Mathisen wrote:
> Hi dear chickeners!
> 
> We have a really nice macro[1] that runs "git describe --tags" and produces
> string-output of our current version at compile-time. This method is (when
> not cross-compiling) very robust because it doesn't use any temporary files
> to store the current version etc.

Hi Kristian,

It's a common workflow to want to automatically update the egg version
in some file, because for the egg system it's required to update at
least the .release-info file, and optionally the meta-file if you're
using the file-listing method of serving an egg.

There's the "git-egg-author" egg which will automatically update the
release-info file, tags and commits.  You could then read the version
from that in your macro.

This is probably not what you're looking for, but the cp -T hack doesn't
sound very appealing.  It's not POSIX (the BSDs for example don't know
about it), and treating the target as a plain file sounds like it could
cause other problems.

Cheers,
Peter

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]