From 474a2e91501c5620e2eef651c8305f2ae7aacd19 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 15 Aug 2017 19:03:55 +0200 Subject: 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 --- samples.d/config.cmake.sample | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'samples.d') 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 # ----------------------------------------------------------- -- cgit 1.2.3-korg