aboutsummaryrefslogtreecommitdiffstats
path: root/samples.d
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-15 19:03:55 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-08-16 18:40:34 +0200
commit474a2e91501c5620e2eef651c8305f2ae7aacd19 (patch)
treedbe73c54ff7730370968bd4066091cdbe0f6f298 /samples.d
parente1ef035594fc80baaf5cd571ab4d04023309a906 (diff)
Ease standard target DATA and HTDOCS creation
This will create a custom target which make sure input files are correct (linting or compiling them) then copying them into the target build dir Change-Id: I1d346d4611a6d97682a00d2038de41a643b28928 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'samples.d')
-rw-r--r--samples.d/config.cmake.sample7
1 files changed, 7 insertions, 0 deletions
diff --git a/samples.d/config.cmake.sample b/samples.d/config.cmake.sample
index f5ac42a..8ca0349 100644
--- a/samples.d/config.cmake.sample
+++ b/samples.d/config.cmake.sample
@@ -161,6 +161,13 @@ set(WIDGET_ENTRY_POINT EntryPoint_Path_Not_Set)
#set(AFB_TOKEN "" CACHE PATH "Default AFB_TOKEN")
#set(AFB_REMPORT "1234" CACHE PATH "Default AFB_TOKEN")
+# Optional schema validator about now only XML, LUA and JSON
+# are supported
+#------------------------------------------------------------
+#set(LUA_CHECKER "luac" CACHE STRING "LUA compiler")
+#set(XML_CHECKER "xmllint" CACHE STRING "XML linter")
+#set(JSON_CHECKER "json_verify" CACHE STRING "JSON linter")
+
# This include is mandatory and MUST happens at the end
# of this file, else you expose you to unexpected behavior
# -----------------------------------------------------------