summaryrefslogtreecommitdiff
path: root/modules/zip/SCsub
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2018-09-30 10:13:33 -0300
committerMisterMX <mbxd12@web.de>2022-10-14 21:51:38 +0200
commitea6cc3e2607a7b902a1a748e5b5623fcbb18da27 (patch)
treec637221a43f15b96434402b719c0e271d98716e4 /modules/zip/SCsub
parentf8745f2f71c79972df66f17a3da75f6e328bc55d (diff)
Expose minizip API to allow creating zips using scripts
Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com> Co-authored-by: James Westman <flyingpimonster@gmail.commail> Co-authored-by: MisterMX <mbxd12@web.de> Signed-off-by: MisterMX <mbxd12@web.de>
Diffstat (limited to 'modules/zip/SCsub')
-rw-r--r--modules/zip/SCsub9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/zip/SCsub b/modules/zip/SCsub
new file mode 100644
index 0000000000..b7710123fd
--- /dev/null
+++ b/modules/zip/SCsub
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+
+Import("env")
+Import("env_modules")
+
+env_zip = env_modules.Clone()
+
+# Module files
+env_zip.add_source_files(env.modules_sources, "*.cpp")