Skip to content

Commit b5a5a28

Browse files
committed
Minor test function adjust
1 parent 17dc6e1 commit b5a5a28

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

functions/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ all: ${BIN_TARGET} ${VERSION_TARGET}
66

77
${BIN_TARGET}: ${GODOT_BIN}
88
rm -f -- $@
9-
upx -9 --best -o $@ $<
9+
upx -9 -o $@ $<
1010

1111
${VERSION_TARGET}: ${GODOT_BIN}
1212
printf 'GODOT_VERSION = "%s"' '$(shell $< --version | sed s/.custom_build//)' > $@

functions/packages/godot/test/__main__.py renamed to functions/packages/gdscript/test/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ def main(args):
1010
os.chmod(godot_bin, st.st_mode | stat.S_IEXEC)
1111
code = args.get("code")
1212
if code is not None:
13+
print(code)
1314
gds = GDSCriptCLI(godot_bin, json=True, timeout=10)
1415
output = gds.block(code, sys_exit=False)[0]
1516
return { "body": json.loads(output) }
File renamed without changes.

functions/project.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ packages:
2424
environment: {}
2525
annotations: {}
2626
limits: {}
27+
- name: gdscript
28+
environment: {}
29+
parameters: {}
30+
annotations: {}
31+
functions:
2732
- name: test
2833
binary: false
2934
main: ''

0 commit comments

Comments
 (0)