From 02c1c016c4a0fa7df726cf08853380e3513fd55e Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Thu, 30 Apr 2020 09:34:04 +0200 Subject: [PATCH] example: add host-side expanded substitutions file - checks availablity of a working MSI tool (see #20 and #36) --- exampleApp/Db/Makefile | 3 +++ exampleApp/Db/dbExample3.substitutions | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 exampleApp/Db/dbExample3.substitutions diff --git a/exampleApp/Db/Makefile b/exampleApp/Db/Makefile index 667845e..8ff4e2e 100644 --- a/exampleApp/Db/Makefile +++ b/exampleApp/Db/Makefile @@ -9,6 +9,9 @@ DB += dbExample2.db DB += dbSubExample.db DB += user.substitutions +# Host-side expansion of substitutions file with MSI +DB += dbExample3.db + # If .db template is not named *.template add # _TEMPLATE = diff --git a/exampleApp/Db/dbExample3.substitutions b/exampleApp/Db/dbExample3.substitutions new file mode 100644 index 0000000..2768529 --- /dev/null +++ b/exampleApp/Db/dbExample3.substitutions @@ -0,0 +1,8 @@ +# Example host-side substitutions file + +file dbExample2.db { + pattern { user, no, scan } + { "ralph", 4, "1 second" } + { "ralph", 5, "2 second" } + { "ralph", 6, "5 second" } +}