IBM / dbb-zappbuild

zAppBuild is a generic build solution for building z/OS applications using Apache Groovy build scripts and IBM Dependency Based Build (DBB) APIs.
Apache License 2.0
41 stars 140 forks source link

Avoid the presence of tab characters in scripts #288

Open FALLAI-Denis opened 1 year ago

FALLAI-Denis commented 1 year ago

Hi,

The scripts provided with zAppbuild use the tab character to manage indentations.

On the one hand the equivalent in space characters depends on an option of the editor used, and the rendering will not be the same from one site to another, but on the other hand it complicates the work when must edit a script directly under ISPF/PDF:

Even if the direct modification under ISPF/PDF of the script files is not to be recommended, zAppbuild remains a z/OS application and must be able to be managed in native z/OS mode.

Tab characters should therefore not be used in zAppbuild's groovy scripts.

FALLAI-Denis commented 1 year ago

PS : avoid also blank or tab at end of line 😁

FALLAI-Denis commented 1 year ago

Another reason for not using tabs: for our developments we plan to use an extension Groovy Lint, Format and Fix

image