Skip to content

Commit a631330

Browse files
committed
Merge pull request #12 from owncloud/allof-workaround
add workaround for composed types
2 parents 6fef878 + ef7349e commit a631330

File tree

2 files changed

+273
-267
lines changed

2 files changed

+273
-267
lines changed

.drone.star

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,19 @@ config = {
1010
'languages': {
1111
'go': {
1212
'src': "out-go",
13+
'clean-src': "out-go/*",
1314
'repo-slug': "libre-graph-api-go",
1415
'branch': 'main',
1516
},
1617
'typescript-axios': {
1718
'src': "out-typescript-axios",
19+
'src': "out-typescript-axios/*",
1820
'repo-slug': "libre-graph-api-typescript-axios",
1921
'branch': 'main',
2022
},
2123
'cpp-qt-client': {
2224
'src': "out-cpp-qt-client",
25+
'clean-src': "out-cpp-qt-client/client/*",
2326
'repo-slug': "libre-graph-api-cpp-qt-client",
2427
'branch': 'main',
2528
},
@@ -154,7 +157,7 @@ def generate(ctx, lang):
154157
"name": "clean-%s" % lang,
155158
"image": "owncloudci/alpine:latest",
156159
"commands": [
157-
"rm -rf %s/*" % config["languages"][lang]["src"],
160+
"rm -rf %s" % config["languages"][lang]["clean-src"],
158161
],
159162
},
160163
{

0 commit comments

Comments
 (0)