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",