Author: marvin
Date: Mon May 14 00:01:53 2012
New Revision: 1338009
URL: http://svn.apache.org/viewvc?rev=1338009&view=rev
Log:
Add Lucy.cfp Clownfish parcel file.
Added:
lucy/trunk/core/Lucy.cfp
Modified:
lucy/trunk/devel/bin/update_version
lucy/trunk/devel/conf/rat-excludes
Added: lucy/trunk/core/Lucy.cfp
URL: http://svn.apache.org/viewvc/lucy/trunk/core/Lucy.cfp?rev=1338009&view=auto
==============================================================================
--- lucy/trunk/core/Lucy.cfp (added)
+++ lucy/trunk/core/Lucy.cfp Mon May 14 00:01:53 2012
@@ -0,0 +1,4 @@
+{
+ "name": "Lucy",
+ "version": "v0.3.0"
+}
Modified: lucy/trunk/devel/bin/update_version
URL:
http://svn.apache.org/viewvc/lucy/trunk/devel/bin/update_version?rev=1338009&r1=1338008&r2=1338009&view=diff
==============================================================================
--- lucy/trunk/devel/bin/update_version (original)
+++ lucy/trunk/devel/bin/update_version Mon May 14 00:01:53 2012
@@ -66,6 +66,18 @@ $buf =~ s/(dist_version\ +=>\ +)'.+?'/$1
or die "no match";
write_file( 'perl/Build.PL', $buf );
+# Update Lucy.cfp.
+$buf = read_file('core/Lucy.cfp');
+$buf =~ s/("version":\s+)"v\d+\.\d+\.\d+"/$1"v$x_y_z_version"/
+ or die "no match";
+write_file( 'core/Lucy.cfp', $buf );
+
+# Update temporary hack in CFCParcel.
+$buf = read_file('clownfish/src/CFCParcel.c');
+$buf =~ s/"v\d\.\d\.\d"/"v$x_y_z_version"/
+ or die "no match";
+write_file( 'clownfish/src/CFCParcel.c', $buf );
+
# Update all other Perl modules.
find sub {
return unless /[.]pm$/;
Modified: lucy/trunk/devel/conf/rat-excludes
URL:
http://svn.apache.org/viewvc/lucy/trunk/devel/conf/rat-excludes?rev=1338009&r1=1338008&r2=1338009&view=diff
==============================================================================
--- lucy/trunk/devel/conf/rat-excludes (original)
+++ lucy/trunk/devel/conf/rat-excludes Mon May 14 00:01:53 2012
@@ -68,6 +68,10 @@ modules/unicode/utf8proc/utf8proc.c
# The text of the US constitution is in the public domain.
perl/sample/us_constitution/*.txt
+# Clownfish parcel files (.cfp) are in JSON format and cannot have comments.
+core/Lucy.cfp
+clownfish/perl/t/cfsource/Animal.cfp
+
# gitignore files should be ignored
.gitignore
charmonizer/.gitignore