How to publish Delphi project on Github?

Viewed 676

I've written a small VCL program using Delphi CE. I want to publish the source code incl. forms on Github but I'm not sure which parts are essential to include in the repository so that others can load it in their IDE and compile it.

3 Answers

You can also exclude this files:

.~
*.dsm
*.ddp
*.map
*.rsm
*.dcu
*.tds
*.local
*.identcache
*.dsk
*.stat
*.tvsconfig

Exclude too the content of directories:

__history
__recovery

In addition to the other answers, some commonsense advice:

  • Put whatever minimum set of files you think you need into git
  • Download yourself (into a separate folder)
  • See if the project builds
  • If it fails, add the missing file(s) and repeat
Related