UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.1 
(KHTML, like Gecko) Safari/312
IP: 65.37.49.4
URI: http://wesnoth.slack.it/?WescampInstructions
 - - - - -
Index: WescampInstructions
===================================================================
RCS file: /home/wesnoth/cvsroot/wikiroot/WescampInstructions,v
retrieving revision 1.3
diff -u -r1.3 WescampInstructions
--- WescampInstructions 3 Jun 2005 15:02:27 -0000       1.3
+++ WescampInstructions 3 Jun 2005 15:07:38 -0000
@@ -58,10 +58,36 @@
  cd ~/Library/Preferences/Wesnoth/data/campaigns
  svn checkout svn://svn.berlios.de/wescamp-i18n/Liberty-po
 
-This creates a local copy of the wescamp directory.  Your data directory 
should have the following:
+This creates a local copy of the wescamp directory.  Your data directory 
should now have the following:
  Liberty.cfg
  Liberty (a folder)
  wescamp-i18n (a folder)
+
+||Updating Wescamp||
+When I make changes to Liberty, I only work with my local copy just like I did 
before.  When I'm done, I need to copy the changed files over to the
+wescamp-i18n directory and then send those changes to berlios.de.
+
+Copy this text into a text editor and call it something simple like 'commit'.  
Then all you have to do is cd to the data/campaigns directory and type
+ cd ~/Library/Preferences/Wesnoth/data/campaigns
+ ./commit
+which will run the following commands as a shell script (or batch file, if 
that helps).
+ #!/bin/csh -f
+
+ set libpath = '~/Library/Preferences/Wesnoth/data/campaigns/Liberty'
+ set wescamp = '~/Library/Preferences/Wesnoth/data/campaigns/wescamp-i18n'
+
+ echo copying campaign text files into local repository...
+ cp -f $libpath/scenarios/*.cfg $wescamp/Liberty-po/Liberty/scenarios/
+ cp -f $libpath/units/*.cfg $wescamp/Liberty-po/Liberty/units/
+ cp -f ~/Library/Preferences/Wesnoth/data/campaigns/Liberty.cfg 
$wescamp/Liberty-po/
+
+ echo committing scenario and unit files to project...
+ cd $wescamp
+ svn commit -m "scenario update" $wescamp/Liberty-po/Liberty/scenarios
+ svn commit -m "units update" $wescamp/Liberty-po/Liberty/units
+ svn commit -m "campaign config update" $wescamp/Liberty-po/Liberty.cfg
+
+ echo finished.
 
 
 




_______________________________________________
Wesnoth-wiki-changes mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes

Reply via email to