The purpose of Builder is to automate the following process of building and packaging software packages (at the moment only for C# and Python projects)
Update the version in the source files:
__version__
variable in each file.Builder is written in Python, to use it you must first create a settings file (a ".builder" file which is basically an INI file).
This is the ".builder" file format for C# projects:
[Builder]
Name = name-of-the-project (this will also be the name of the archive)
Type = Cs
OutputDirectory = D:\Releases\MyProject
[CsBuilder]
; (the files from {StartupProject}/bin/Release will be copied to the
; binary package)
StartupProject = name-of-startup-project
Solution = solution-file.sln
[SVN]
; (the path to the project in the repository)
SvnRoot = file:///S:/Subversion/MyProject
And this is the ".builder" file format for Python projects:
[Builder]
Name = Builder
Type = Python
OutputDirectory = D:\Releases\Builder
[PyBuilder]
Message = This message will be added to all .py files.
[SVN]
SvnRoot = file:///S:/Subversion/Builder
To associate the .builder
extension with builder you can use the
RegisterBuilderFiles.reg
file in the source archive (just change the path to
where you put Builder).