aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/env.j212
1 files changed, 3 insertions, 9 deletions
diff --git a/templates/env.j2 b/templates/env.j2
index 30bda82..59f3050 100644
--- a/templates/env.j2
+++ b/templates/env.j2
@@ -1,9 +1,3 @@
1{% for key, value in (clever_base_env | combine(clever_env)).items() %} 1{# dict2items is not enough here, all the values have to be stringified #}
2{{ key }}={{ value | to_json }} 2{# git-blame this line for more explanations #}
3{% endfor %} 3{{ clever_env | json_env_map | to_json }}
4
5{%- if clever_haskell_entry_point %}
6{# Haskell only #}
7{# https://www.clever-cloud.com/doc/get-help/reference-environment-variables/#haskell #}
8CC_RUN_COMMAND={{'~/.local/bin/' + clever_haskell_entry_point | to_json }}
9{% endif %}