Skip to content

Commit b834851

Browse files
committed
Merge branch 'feature/75-centralise-version-numbers-in-one-file' into develop
2 parents d8b61dd + be94429 commit b834851

File tree

4 files changed

+41
-19
lines changed

4 files changed

+41
-19
lines changed

Build.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
77
* obtain one at https://mozilla.org/MPL/2.0/
88
*
9-
* Copyright (C) 2009-2021, Peter Johnson (gravatar.com/delphidabbler).
9+
* Copyright (C) 2009-2022, Peter Johnson (gravatar.com/delphidabbler).
1010
*
1111
* Instructions for building CodeSnip from source.
1212
-->
@@ -191,10 +191,10 @@ <h3>
191191
</h3>
192192

193193
<p>
194-
This tool is used to compile version information (<code>.vi</code>) files
195-
into intermediate resource source (<code>.rc</code>) files. Version 2.11.2
196-
or later is required.
197-
Version Information Editor can be obtained from
194+
This tool is used to compile version information (<code>.vi</code>) files and
195+
any associated macro file(s) into intermediate resource source
196+
(<code>.rc</code>) files. Version 2.14.0 or later is required. Version
197+
Information Editor can be obtained from
198198
<a
199199
href="https://github.com/delphidabbler/vied/releases"
200200
>https://github.com/delphidabbler/vied/releases</a>.

Src/VCodeSnip.vi

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77
; Version information description file for CodeSnip.
88

99

10+
[Macros]
11+
Import:ver=.\VersionInfo.vi-inc
12+
1013
[Fixed File Info]
11-
File Version #=4, 20, 2, 266
12-
Product Version #=4, 20, 2, 0
14+
File Version #=<%ver.version>.<%ver.build>
15+
Product Version #=<%ver.version>
1316
File OS=4
1417
File Type=1
1518
File Sub-Type=0
@@ -21,19 +24,21 @@ Language=2057
2124
Character Set=1252
2225

2326
[String File Info]
24-
Comments=Released under the terms of the Mozilla Public License v2.0 (https://www.mozilla.org/MPL/2.0/)
25-
Company Name=DelphiDabbler
26-
File Description=CodeSnip Database Viewer
27+
Comments=<%var.license>
28+
Company Name=<%ver.company>
29+
File Description=<%ver.description> (Standard Edition)
2730
File Version=<#F1>.<#F2>.<#F3> build <#F4>
2831
Internal Name=<SHORTFNAME>
29-
Legal Copyright=Copyright © P.D.Johnson, 2005-<YEAR>.
32+
Legal Copyright=<%ver.copyright>
3033
Legal Trademark=
3134
Original File Name=CodeSnip.exe
3235
Private Build=
33-
Product Name=DelphiDabbler CodeSnip
36+
Product Name=<%ver.company> <%ver.name>
3437
Product Version=Release <#P1>.<#P2>.<#P3>
3538
Special Build=
3639

3740
[Configuration Details]
3841
Identifier=
3942
NumRCComments=0
43+
ResOutputDir=
44+
FileVersion=1

Src/VCodeSnipPortable.vi

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77
; Version information description file for the portable edition of CodeSnip
88

99

10+
[Macros]
11+
Import:ver=.\VersionInfo.vi-inc
12+
1013
[Fixed File Info]
11-
File Version #=4, 20, 2, 266
12-
Product Version #=4, 20, 2, 0
14+
File Version #=<%ver.version>.<%ver.build>
15+
Product Version #=<%ver.version>
1316
File OS=4
1417
File Type=1
1518
File Sub-Type=0
@@ -21,19 +24,21 @@ Language=2057
2124
Character Set=1252
2225

2326
[String File Info]
24-
Comments=Released under the terms of the Mozilla Public License v2.0 (https://www.mozilla.org/MPL/2.0/)
25-
Company Name=DelphiDabbler
26-
File Description=CodeSnip Database Viewer (Portable Edition)
27+
Comments=<%var.license>
28+
Company Name=<%ver.company>
29+
File Description=<%ver.description> (Portable Edition)
2730
File Version=<#F1>.<#F2>.<#F3> build <#F4>
2831
Internal Name=<SHORTFNAME>
29-
Legal Copyright=Copyright © P.D.Johnson, 2005-<YEAR>.
32+
Legal Copyright=<%ver.copyright>
3033
Legal Trademark=
3134
Original File Name=CodeSnip-p.exe
3235
Private Build=
33-
Product Name=DelphiDabbler CodeSnip
36+
Product Name=<%ver.company> <%ver.name>
3437
Product Version=Release <#P1>.<#P2>.<#P3>
3538
Special Build=Portable
3639

3740
[Configuration Details]
3841
Identifier=
3942
NumRCComments=0
43+
ResOutputDir=
44+
FileVersion=1

Src/VersionInfo.vi-inc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CodeSnip Version Information Macros for Including in .vi files
2+
3+
# Version & build numbers
4+
version=4.22.2
5+
build=266
6+
7+
# String file information
8+
copyright=Copyright © P.D.Johnson, 2005-<YEAR>.
9+
description=Code Snippets Repository
10+
company=DelphiDabbler
11+
name=CodeSnip
12+
license=Released under the terms of the Mozilla Public License v2.0 (https://www.mozilla.org/MPL/2.0/)

0 commit comments

Comments
 (0)