[Squirrel-sql-commits] mavenize mavenize.pl,1.20,1.21
A Java SQL client for any JDBC compliant database
Brought to you by:
colbell,
gerdwagner
From: Rob M. <man...@us...> - 2010-03-20 18:04:07
|
Update of /cvsroot/squirrel-sql/mavenize In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv1318 Modified Files: mavenize.pl Log Message: remove unnecessary files. Index: mavenize.pl =================================================================== RCS file: /cvsroot/squirrel-sql/mavenize/mavenize.pl,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** mavenize.pl 24 Jan 2010 20:26:41 -0000 1.20 --- mavenize.pl 20 Mar 2010 18:03:58 -0000 1.21 *************** *** 36,39 **** --- 36,40 ---- $docDir = $topDir . "/doc"; $websiteDir = $topDir . "/web-site"; + $testDir = $topDir . "/test"; $onlyCopyPoms = 0; *************** *** 200,203 **** --- 201,206 ---- installLafPluginAssembly(); + removeRemainingUnnecessaryFiles(); + # End of script; Begin Subroutines *************** *** 558,561 **** --- 561,565 ---- `svn add --quiet test`; `svn delete net`; + `svn delete lib`; chdir($mavenizeDir) or die "Couldn't change directory to $mavenizeDir: $!\n"; *************** *** 597,600 **** --- 601,605 ---- `svn delete net`; `svn add test`; + `svn delete lib`; chdir($mavenizeDir) or die "Couldn't change directory to $mavenizeDir: $!\n"; *************** *** 651,654 **** --- 656,662 ---- svnmkdir("$installerDir/squirrelsql-other-installer/src/main/resources"); `tar --exclude .svn -cvf - squirrelsql-other-installer | ( cd $installerDir; tar -xvf -)`; + + svnmkdir("$installerDir/squirrelsql-macosx-installer/src/main/resources"); + `tar --exclude .svn -cvf - squirrelsql-macosx-installer | ( cd $installerDir; tar -xvf -)`; `cp $mavenizeDir/installer-pom.xml $installerDir/pom.xml`; *************** *** 800,801 **** --- 808,818 ---- chdir($lafPluginDir) or die "Couldn't change dir to ($lafPluginDir): $!\n"; } + + sub removeRemainingUnnecessaryFiles { + chdir($topDir) or die "Couldn't change dir to ($topDir): $!\n"; + `svn delete stats`; + `svn delete mac`; + chdir($testDir) or die "Couldn't change dir to ($testDir): $!\n"; + `svn delete lib`; + + } |