downport mapster fix (#1267)
Some checks are pending
build_downport / build_downport (push) Waiting to run

This commit is contained in:
oblomov 2024-07-12 18:50:52 +02:00 committed by GitHub
parent 580e366f45
commit bbd8fc5b1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,8 @@
"description": "Developing UI5 Apps purely in ABAP.", "description": "Developing UI5 Apps purely in ABAP.",
"scripts": { "scripts": {
"syfixes": "find . -type f -name '*.abap' -exec sed -i -e 's/ RAISE EXCEPTION TYPE cx_sy_itab_line_not_found/ ASSERT 1 = 0/g' {} + ", "syfixes": "find . -type f -name '*.abap' -exec sed -i -e 's/ RAISE EXCEPTION TYPE cx_sy_itab_line_not_found/ ASSERT 1 = 0/g' {} + ",
"downport": "rm -rf downport && cp -r src downport && abaplint --fix ./ci/abaplint-downport.jsonc && npm run syfixes", "delete_mapster": "rm ./src/01/05/z2ui5_cl_cc_imagemapster.clas.abap && rm ./src/01/05/z2ui5_cl_cc_imagemapster.clas.xml",
"downport": "rm -rf downport && cp -r src downport && abaplint --fix ./ci/abaplint-downport.jsonc && npm run syfixes && npm run delete_mapster",
"unit": "echo RUNNING && node output/index.mjs", "unit": "echo RUNNING && node output/index.mjs",
"transpile": "rm -rf output && abap_transpile test/abap_transpile.json", "transpile": "rm -rf output && abap_transpile test/abap_transpile.json",
"test": "npm run downport && npm run transpile && npm run unit", "test": "npm run downport && npm run transpile && npm run unit",