Skip to content

Commit 5edacdc

Browse files
authored
ci updates (#168)
* ci updates * update * update * update * update * update
1 parent e9c9201 commit 5edacdc

7 files changed

+90
-49
lines changed

abaplint-app.jsonc

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
2-
"configurations": {
3-
"default": {
4-
"filename": "./abaplint.jsonc"
5-
},
6-
"abap_cloud_readiness": {
7-
"filename": "./abaplint-syntax_cloud.jsonc"
2+
"configurations": {
3+
"default": {
4+
"filename": "./ci/abaplint.jsonc"
5+
},
6+
"abap_standard_readiness": {
7+
"filename": "./ci/abaplint-abap_standard_readiness.jsonc"
8+
},
9+
"abap_cloud_readiness": {
10+
"filename": "./ci/abaplint-abap_cloud_readiness.jsonc"
11+
}
812
}
9-
}
10-
}
13+
}

abaplint-syntax_cloud.jsonc

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"global": {
3+
"files": "/src/**/*.*"
4+
},
5+
"dependencies": [
6+
{
7+
"url": "https://github.com/abapedia/steampunk-2305-api-intersect-702",
8+
"folder": "/deps",
9+
"files": "/src/**/*.*"
10+
},
11+
{
12+
"url": "https://github.com/abap2UI5/abap2UI5",
13+
"folder": "/abap2UI5",
14+
"files": "/src/**/*.*"
15+
}
16+
],
17+
"syntax": {
18+
"version": "Cloud",
19+
"errorNamespace": "."
20+
},
21+
"rules": {
22+
"begin_end_names": true,
23+
"cds_parser_error": true,
24+
"check_ddic": true,
25+
"strict_sql": true,
26+
"sql_escape_host_variables": true,
27+
"check_include": true,
28+
"check_syntax": true,
29+
"cloud_types": true,
30+
"global_class": true,
31+
"implement_methods": true,
32+
"method_implemented_twice": true,
33+
"parser_error": true,
34+
"superclass_final": true,
35+
"unknown_types": true,
36+
"xml_consistency": true
37+
}
38+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"global": {
3+
"files": "/src/**/*.*"
4+
},
5+
"dependencies": [
6+
{
7+
"url": "https://github.com/abapedia/steampunk-2305-api-intersect-702",
8+
"folder": "/deps",
9+
"files": "/src/**/*.*"
10+
},
11+
{
12+
"url": "https://github.com/abap2UI5/abap2UI5",
13+
"folder": "/abap2UI5",
14+
"files": "/src/**/*.*"
15+
}
16+
],
17+
"syntax": {
18+
"version": "750",
19+
"errorNamespace": "."
20+
},
21+
"rules": {
22+
"begin_end_names": true,
23+
"cds_parser_error": true,
24+
"check_ddic": true,
25+
"strict_sql": true,
26+
"sql_escape_host_variables": true,
27+
"check_include": true,
28+
"check_syntax": true,
29+
"cloud_types": true,
30+
"global_class": true,
31+
"implement_methods": true,
32+
"method_implemented_twice": true,
33+
"parser_error": true,
34+
"superclass_final": true,
35+
"unknown_types": true,
36+
"xml_consistency": true
37+
}
38+
}

abaplint-downport.jsonc renamed to ci/abaplint-downport.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"global": {
3-
"files": "/downport/**/*.*"
3+
"files": "/../downport/**/*.*"
44
},
55
"dependencies": [
66
{

abaplint.jsonc renamed to ci/abaplint.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
],
1717
"syntax": {
18-
"version": "v750",
18+
"version": "v757",
1919
"errorNamespace": "."
2020
},
2121
"rules": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Explore Code Samples of abap2UI5",
66
"scripts": {
77
"syfixes": "find . -type f -name '*.abap' -exec sed -i -e 's/ RAISE EXCEPTION TYPE cx_sy_itab_line_not_found/ ASSERT 1 = 0/g' {} + ",
8-
"downport": "rm -rf downport && cp -r src downport && abaplint --fix abaplint-downport.jsonc && npm run syfixes",
8+
"downport": "rm -rf downport && cp -r src downport && abaplint --fix ./ci/abaplint-downport.jsonc && npm run syfixes",
99
"unit": "echo RUNNING && node output/index.mjs",
1010
"transpile": "rm -rf output && abap_transpile test/abap_transpile.json",
1111
"test": "npm run downport && npm run transpile && npm run unit"

0 commit comments

Comments
 (0)