1
0
forked from 0ad/0ad

Make the autobuilder write svn_revision.txt

This was SVN commit r6704.
This commit is contained in:
Ykkrosh 2009-02-24 15:43:34 +00:00
parent 1749a127f1
commit 43f91d0d0b

View File

@ -55,6 +55,15 @@ for (qw(build source libraries))
# die "junction $_: $?" if $?;
# }
# Store the SVN revision identifier in a file, so it can be embedded into the .exe
{
my $rev = `svnversion -n $svn_trunk`;
die "svnversion: $?" if $?;
add_to_buildlog("SVN revision $rev");
open my $f, '>', "$temp_trunk\\build\\svn_revision\\svn_revision.txt" or die $!;
print $f qq{L"$rev"\n};
}
# Create the workspace files
add_to_buildlog("Running update-workspaces");