We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
examples/example_hello_world_python/run.sh
1 parent a3260cf commit 2e3b720Copy full SHA for 2e3b720
examples/example_hello_world_python/run.sh
@@ -39,8 +39,10 @@ fi
39
# Construct the command with optional parameters
40
CMD="python ../../plain2code.py hello_world_python.plain --unittests-script=../../test_scripts/run_unittests_python.sh --conformance-tests-script=../../test_scripts/run_conformance_tests_python.sh ${VERBOSE:+-v} ${RENDER_RANGE:+"--render-range=$RENDER_RANGE"} ${RENDER_FROM:+"--render-from=$RENDER_FROM"} ${API_ENDPOINT:+"--api $API_ENDPOINT"}"
41
42
-echo "Removing conformance tests folder"
43
-rm -rf conformance_tests
+if [ -z "$RENDER_RANGE" ] || [ -z "$RENDER_FROM" ]; then
+ echo "Removing conformance tests folder"
44
+ rm -rf conformance_tests
45
+fi
46
47
# Execute the command
48
$CMD
0 commit comments