/abapmerge

Merge ABAP INCLUDEs into single file

Primary LanguageTypeScriptMIT LicenseMIT

Build Status npm version devDependencies Status Greenkeeper badge

abapmerge

Merge ABAP INCLUDEs into single file

Test online: http://larshp.github.io/abapmerge/

Building

  • npm install

  • npm test

Additional features

Abapmerge supports pragmas that can be written inside an abap comment. If written as " comment, then indentation before " is also used for output.

@@abapmerge command params

Currently supported pragmas:

  • include {filename} > {string wrapper}
    • {filename} - path to the file relative to script execution dir (argv[0])
    • {string wrapper} is a pattern where $$ is replaced by the include line
    • $$ is escaped - ' replaced to '' (to fit in abap string), use $$$ to skip escaping

Example

...
  " @@abapmerge include somefile.txt > APPEND '$$' TO styletab.
...