Recent

Author Topic: Do you like to add license/copyright header in Lazarus .pas source file?  (Read 727 times)

GolfCat

  • New Member
  • *
  • Posts: 17
If you do, please look at this CommentBuilder tool.
http://www.bodingh.se/download/CommentBuilder_setup.exe

valdir.marcos

  • Hero Member
  • *****
  • Posts: 849
If you do, please look at this CommentBuilder tool.
http://www.bodingh.se/download/CommentBuilder_setup.exe
I'm sorry, but many of us would not test a binary...
Where can we download or checkout the source code?

Thaddy

  • Hero Member
  • *****
  • Posts: 9288
FPC has built-in features for that....
E.g. https://www.freepascal.org/docs-html/current/prog/progsu88.html#x96-950001.3.5 and more for other platforms than netware. (E.g. {$I license.txt })

And indeed please do not link to executables: sane people would not even download it....
We are programmers, not click-bait.
« Last Edit: June 13, 2019, 06:35:49 pm by Thaddy »
also related to equus asinus.

lucamar

  • Hero Member
  • *****
  • Posts: 2141
If you do, please look at this CommentBuilder tool.
http://www.bodingh.se/download/CommentBuilder_setup.exe

Why use an external tool? Instead use either full project templates ("GPL Application", "MIT Application", etc.) or simple code templates: type "BSD3", press Ctrl+J et voilà! a shinig BSD-3-clause license added to your source ;)
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.4/2.0.6  - FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.

Thaddy

  • Hero Member
  • *****
  • Posts: 9288
Yup! but that's Lazarus only. FPC supports including a license too. (I didn't even examine the link)
also related to equus asinus.