Merge pull request #26 from nzgamer41/master
Embed build number into the file
This commit is contained in:
commit
3a0a066067
@ -6,7 +6,8 @@ project "OpenParrot"
|
|||||||
files
|
files
|
||||||
{
|
{
|
||||||
"src/**.cpp", "src/**.h",
|
"src/**.cpp", "src/**.h",
|
||||||
"deps/cpp/**.cpp", "deps/inc/**.h"
|
"deps/cpp/**.cpp", "deps/inc/**.h",
|
||||||
|
"src/OpenParrot.aps", "src/OpenParrot.rc"
|
||||||
}
|
}
|
||||||
|
|
||||||
includedirs { "src", "deps/inc/" }
|
includedirs { "src", "deps/inc/" }
|
||||||
|
BIN
OpenParrot/src/OpenParrot.aps
Normal file
BIN
OpenParrot/src/OpenParrot.aps
Normal file
Binary file not shown.
BIN
OpenParrot/src/OpenParrot.rc
Normal file
BIN
OpenParrot/src/OpenParrot.rc
Normal file
Binary file not shown.
14
OpenParrot/src/resource.h
Normal file
14
OpenParrot/src/resource.h
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
//{{NO_DEPENDENCIES}}
|
||||||
|
// Microsoft Visual C++ generated include file.
|
||||||
|
// Used by OpenParrot.rc
|
||||||
|
|
||||||
|
// Next default values for new objects
|
||||||
|
//
|
||||||
|
#ifdef APSTUDIO_INVOKED
|
||||||
|
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||||
|
#define _APS_NEXT_RESOURCE_VALUE 101
|
||||||
|
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||||
|
#define _APS_NEXT_CONTROL_VALUE 1001
|
||||||
|
#define _APS_NEXT_SYMED_VALUE 101
|
||||||
|
#endif
|
||||||
|
#endif
|
@ -14,6 +14,13 @@ assembly_info:
|
|||||||
assembly_informational_version: '{version}'
|
assembly_informational_version: '{version}'
|
||||||
before_build:
|
before_build:
|
||||||
- cmd: premake5.exe vs2017
|
- cmd: premake5.exe vs2017
|
||||||
|
- ps: >-
|
||||||
|
Get-Content .\OpenParrot\src\OpenParrot.rc | ForEach-Object { $_ -replace "1.0.0.0", $env:appveyor_build_version } | Set-Content .\OpenParrot\src\OpenParrot2.rc
|
||||||
|
|
||||||
|
del .\OpenParrot\src\OpenParrot.rc
|
||||||
|
|
||||||
|
mv .\OpenParrot\src\OpenParrot2.rc .\OpenParrot\src\OpenParrot.rc
|
||||||
|
|
||||||
build:
|
build:
|
||||||
project: OpenParrot.sln
|
project: OpenParrot.sln
|
||||||
verbosity: minimal
|
verbosity: minimal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user