aboutsummaryrefslogtreecommitdiff
path: root/Earthfile
diff options
context:
space:
mode:
Diffstat (limited to 'Earthfile')
-rw-r--r--Earthfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Earthfile b/Earthfile
index bd8756b..cb4ea5d 100644
--- a/Earthfile
+++ b/Earthfile
@@ -11,6 +11,11 @@ docker:
COPY +build/erlang-shipment/ /mayu/erlang-shipment/
COPY themes/ /mayu/themes/
COPY index.html /mayu/
+ COPY gleam.toml /mayu/
+
+ ENV MAYU_VERSION=$(grep version /mayu/gleam.toml | cut -d '"' -f 2)
+
+ RUN rm /mayu/gleam.toml
WORKDIR /mayu/