Code Search for Developers
 
 
  

infoplist_versionmaker.pl from Jamoma at Krugle


Show infoplist_versionmaker.pl syntax highlighted

#!/usr/bin/perl

use strict;

die "$0: Must be run from Xcode" unless $ENV{"BUILT_PRODUCTS_DIR"};

# Get the current subversion revision number and use it to set the CFBundleVersion value
my $REV = `/usr/local/bin/svnversion -n ./`;
my $INFO = "$ENV{BUILT_PRODUCTS_DIR}/$ENV{WRAPPER_NAME}/Contents/Info.plist";

my $version = $REV;
die "$0: No Subversion revision found" unless $version;

open(FH, "$INFO") or die "$0: $INFO: $!";
my $info = join("", <FH>);
close(FH);

$info =~ s/VERSION/0\.4\.3/g;
$info =~ s/SVNREV/$version/g;

open(FH, ">$INFO") or die "$0: $INFO: $!";
print FH $info;
close(FH);



See more files for this project here

Jamoma

Jamoma is a flexible framework for the creation of modules in Max, MSP, and Jitter

Project homepage: http://sourceforge.net/projects/jamoma
Programming language(s): C++,JavaScript,XML
License: other

  Info.plist
  infoplist_versionmaker.pl
  jcom.core.cpp
  jcom.core.h
  jcom.io.h
  jcom.list.h
  jcom.prefix.pch
  jcom.sendreceive.h