[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] chicken-install bug: does not copy all folders whe
Re: [Chicken-hackers] chicken-install bug: does not copy all folders when cross-compiling
Tue, 3 Nov 2015 20:04:23 +0100
On Thu, Oct 15, 2015 at 01:33:59PM +0200, Kristian Lein-Mathisen wrote:
> Hi dear chickeners!
> We have a really nice macro 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.
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.
Description: Digital signature
- Re: [Chicken-hackers] chicken-install bug: does not copy all folders when cross-compiling,
Peter Bex <=