Hi Marcel, yes, something was implemented, which may help you with it. There is a new item map in objectscript.export. For instance this
"objectscript.export": {
"folder": "",
"addCategory": false,
"map": {
"%(.*)\\.([^.]*)": "src/$2/_$1.$2",
"(Test\\.PM\\.Integration\\..*)": "tests/integration_tests/$1",
"(Test\\.PM\\.Unit\\..*)": "tests/unit_tests/$1",
},
}I have on the same level src and tests folders, so, I set folder to an empty string, to operate on a root level. My Unit Test classes, just placed in the desired folder without adding the folder by type (e.g. cls, inc). But, any other sources have to be stored by type in a separate folder, and my classes are a percent classes, and I have to replace % to _.
On the left side, I have the regular expression to match any main classes %(.*)\\.([^.]*) it should match the filename completely, and on the right side replacement. Same you can see for two different types of UnitTests.
- Log in to post comments
.png)
.png)
