From 287f892e01602d452da9247c8d80b1b1a15913b3 Mon Sep 17 00:00:00 2001 From: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com> Date: Mon, 6 Jan 2025 21:53:02 +0000 Subject: [PATCH] fix rerun scripts --- .gitignore | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a51299b..07bb8a4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ downport node_modules abap2UI5 abap2UI5-samples +output diff --git a/package.json b/package.json index e893e2a..748b3fc 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "clone1": "rm -rf abap2UI5 && git clone --depth=1 https://github.com/abap2UI5/abap2UI5 && cp -r abap2UI5/src src", "clone2": "rm -rf abap2UI5-samples && git clone --depth=1 https://github.com/abap2UI5/abap2UI5-samples && cp -r abap2UI5-samples/src src/samples", "clone": "rm -rf src && npm run clone1 && npm run clone2", - "init_abap2ui5": "mkdir src && git clone --depth=1 https://github.com/abap2UI5/abap2UI5.git && cp -r abap2UI5/src/* src/", - "init_samples": "git clone --depth=1 https://github.com/abap2UI5/abap2UI5-samples && cp -r abap2UI5-samples/src src/samples", + "init_abap2ui5": "rm -rf src && rm -rf abap2UI5 && mkdir src && git clone --depth=1 https://github.com/abap2UI5/abap2UI5.git && cp -r abap2UI5/src/* src/", + "init_samples": "rm -rf abap2UI5-samples && git clone --depth=1 https://github.com/abap2UI5/abap2UI5-samples && cp -r abap2UI5-samples/src src/samples", "init" : "npm run init_abap2ui5 && npm run init_samples", "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",