GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - r3code/delphi7-batch-build-scripts: A base set of scripts to build and test your Delphi 7 projects from the Console or CI server.

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
build
build
 
 
doc
doc
 
 
projects
projects
 
 
resources/versioninfo
resources/versioninfo
 
 
source
source
 
 
test
test
 
 
.gitignore
.gitignore
 
 
BuildAll.bat
BuildAll.bat
 
 
BuildMyApp.bat
BuildMyApp.bat
 
 
BuildMyAppDist.bat
BuildMyAppDist.bat
 
 
BuildTargets.txt
BuildTargets.txt
 
 
CheckChangelogUpdated.bat
CheckChangelogUpdated.bat
 
 
CheckMyAppDprRequiredIfDefs.bat
CheckMyAppDprRequiredIfDefs.bat
 
 
Clean.bat
Clean.bat
 
 
Compile.bat
Compile.bat
 
 
CompileResource.bat
CompileResource.bat
 
 
MadExceptPatchExe.bat
MadExceptPatchExe.bat
 
 
MyAppProjects.bpg
MyAppProjects.bpg
 
 
ReadMe.md
ReadMe.md
 
 
SetBuildDate.bat
SetBuildDate.bat
 
 
TestMyApp.bat
TestMyApp.bat
 
 

Repository files navigation

Delphi7 Batch Build Scripts

This is a base to create your own build scripts for the Delphi 7 project groups. Typical example is an Application and its' Test. The task here is to build each project and check the Test result.

This scripts allow you to run build with CI servers, e.g. Jenkins. Output goes to a console stdout so you can check build details in the Console Output.

Pre-conditions

  1. Create a system environment variable Delphi7Bin with path to Delphi 7/Bin. Usually the Delphi 7/Bin is located in c:\Program Files\Borland\Delphi7\Bin\ or c:\Program Files(x86)\Borland\Delphi7\Bin\
  2. Install madExcept exception handler. It's requred to patch the compiled exe after build to allow madExcept debug the application during execution. Note: You can remove madExcept patching by deleting :madExceptPatchBinary block and madExcept paths from INCLUDE_DIRS in BuildMyApp.bat .

Usage

  • To build all targets exec BuildAll.bat
  • To build one project run relevant batch file, e.g. BuildMyApp.bat, TestMyApp.bat.
  • To add new build target:
    1. Create a copy of BuildMyApp.bat.
    2. Rename it as you need.
    3. Add created batch filename to the buildTargets variable in BuildAll.bat
    4. Try build.

To check the project is ready to be published run BuildMyAppDist.bat.

About

A base set of scripts to build and test your Delphi 7 projects from the Console or CI server.

Topics

buildbuild-automationdelphidelphi7delphi7-batchpascalwindows-batch

Resources

Readme
Activity

Stars

6 stars

Watchers

2 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.