add transpile configuration (#4156)

* add transpile configuration

* ignore output folder

* update deps
This commit is contained in:
Lars Hvam 2020-11-11 10:27:05 +01:00 committed by GitHub
parent b5ba5092bf
commit 7addbcb501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,4 +4,5 @@ package-lock.json
zabapgit.abap
.vscode
deps
output
ci/*.abap

12
abap_transpile.json Normal file
View File

@ -0,0 +1,12 @@
{
"input_folder": "src",
"input_filter": ["zif_abapgit_definitions"],
"output_folder": "output",
"lib": "https://github.com/open-abap/open-abap",
"write_unit_tests": true,
"options": {
"ignoreSyntaxCheck": false,
"addFilenames": true,
"addCommonJS": true
}
}

View File

@ -4,6 +4,7 @@
"test": "npm run eslint && npm run abaplint",
"merge": "abapmerge -f src/zabapgit.prog.abap -c zabapgit_standalone > zabapgit.abap",
"merge.ci": "cp zabapgit.abap ci/zabapgit_standalone.prog.abap && cd ci && abaplint && cd ..",
"unit_wip": "abap_transpile",
"abaplint": "abaplint",
"eslint": "eslint src"
},
@ -12,7 +13,8 @@
"url": "git+https://github.com/abapGit/abapGit.git"
},
"devDependencies": {
"@abaplint/cli": "^2.59.4",
"@abaplint/cli": "^2.59.7",
"@abaplint/transpiler-cli": "^0.6.2",
"abapmerge": "^0.14.1",
"eslint": "^7.13.0"
}