summaryrefslogtreecommitdiff
path: root/tools/meson.build
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-07-26 18:59:33 +0200
committerxengineering <me@xengineering.eu>2025-07-26 19:02:33 +0200
commitce9b6c2d205b7d2559a49a36a8d7422ccd12a177 (patch)
treefc4d42161dc5e22561cf957f1124e43419c23756 /tools/meson.build
parent0f8c729e691b450cc994e28d68eab8d3250d8457 (diff)
downloadiot-contact-ce9b6c2d205b7d2559a49a36a8d7422ccd12a177.tar
iot-contact-ce9b6c2d205b7d2559a49a36a8d7422ccd12a177.tar.zst
iot-contact-ce9b6c2d205b7d2559a49a36a8d7422ccd12a177.zip
tools: Re-introduce deploy.py script
After the transition to tar archive based deployment it can now be re-introduced with small changes.
Diffstat (limited to 'tools/meson.build')
-rw-r--r--tools/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/meson.build b/tools/meson.build
index f58c54b..2a33d0e 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -1,3 +1,11 @@
configure_zephyr = meson.current_source_dir() / 'configure_zephyr.py'
build_zephyr = meson.current_source_dir() / 'build_zephyr.py'
make_factory_image = meson.current_source_dir() / 'make_factory_image.py'
+
+configure_file(
+ configuration : {
+ 'PROJECT_VERSION_STRING': project_version_string,
+ },
+ input : 'deploy.py.in',
+ output : 'deploy.py',
+)