delphidabbler / codesnip

A code bank designed with Pascal in mind
https://delphidabbler.com/software/codesnip
Other
111 stars 34 forks source link

Centralise release version numbers in one file #75

Closed delphidabbler closed 1 year ago

delphidabbler commented 1 year ago

At present, file and product release version numbers are common to both the standard and portable editions of CodeSnip, but they have to be entered separately in VCodeSnip.vi and VCodeSnipPortable.vi.

This leaves room for error.

So create a new VERSION file that contains versions and include those values in the .vi files as macros.

delphidabbler commented 1 year ago

Actually extracted some common string file info into macros too.

Named macro file VersionInfo.vi-inc instead of VERSION.