aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-04-27 11:23:17 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-04-27 11:23:17 +0200
commit514cb71a6a3e116c229c5dc874369f8632530dc7 (patch)
treedbc61581e04809fca19fefb3f4954b76e1e3e2c8 /scripts
Squashed 'deps/inja/' content from commit 811e173
git-subtree-dir: deps/inja git-subtree-split: 811e1730e13bca4ea1805a42d5f0a4b5c91046e1
Diffstat (limited to 'scripts')
-rw-r--r--scripts/amalgamate_config.json9
-rwxr-xr-xscripts/update_single_include.sh6
2 files changed, 15 insertions, 0 deletions
diff --git a/scripts/amalgamate_config.json b/scripts/amalgamate_config.json
new file mode 100644
index 0000000..71cff85
--- /dev/null
+++ b/scripts/amalgamate_config.json
@@ -0,0 +1,9 @@
+{
+ "project": "inja",
+ "target": "single_include/inja/inja.hpp",
+ "sources": [
+ "inja/inja.hpp"
+ ],
+ "include_paths": [
+ ]
+}
diff --git a/scripts/update_single_include.sh b/scripts/update_single_include.sh
new file mode 100755
index 0000000..ca86063
--- /dev/null
+++ b/scripts/update_single_include.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+cd $(dirname "${DIR}")
+
+python3 third_party/amalgamate/amalgamate.py -c scripts/amalgamate_config.json -s include -v yes