Author Topic: Scripting build dates... implementation?  (Read 733 times)

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Scripting build dates... implementation?
« on: June 14, 2006, 02:26:57 pm »
I've been thinking now for a long time that it is nice to have things like build scripts doing the heavy lifting for us.  I've setup scripts that automatically compile planeshift every night on one of my spare pc's just for testing and to watch cvs.  As I was going through this and also creating some build guides I realize we don't have a good mechansim for building release code like we would want... by that I mean code compatible with the server.  This would be nice to build automated build scripts that compile with different optimizations, cross compile, etc, all while messing with release code we know should "work".  The problem is that its alot of work to maintain scripts as they must be tweaked manually all the time.  The issue make gentoo ebuilds difficult to the point that malverian isn't even maintaining them anymore... and it sure makes making scripts for the public to use difficult as well. 

I'd like to implement some build dates into scripts of mine, but I can't think of a good way to implement them right now.  There is no central place to pull the cvs/svn dates/releases and as such it seems impossible.  Are there any good solutions?  Is it possible to automate this the way I'd like?  It would be nice for my public build script as well, and make it easier for the average joe to make versions optimized for their pc. 

How can this be done?  Can it be done?  Can something be done to make it possible?  Is there something I could do to help? 

HELP? :D

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
Re: Scripting build dates... implementation?
« Reply #1 on: June 14, 2006, 05:31:54 pm »
I've said a bunch of times that someone could grab the JavaScript vars at the top of the new compiling guide.  No one's actually tried to make a script use it yet.  ;)

::  PlaneShift Team Programmer  ::

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Scripting build dates... implementation?
« Reply #2 on: June 15, 2006, 12:46:06 am »
Awsome! Somehow I hadn't caught that.... now to figure out how to hook into that.