From 49122aa735427cfcd08f40035bf0354ae8c477f3 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 15 Jun 2018 16:37:10 +0200 Subject: Simplify the writing of configuration. As resources and events are "static" hardcode them in the binding. Change-Id: I9dd600fa6cfe0d2f5f55cf605ce75d8c5446d78d Signed-off-by: Romain Forlot --- conf.d/project/etc/test-config.json | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'conf.d') diff --git a/conf.d/project/etc/test-config.json b/conf.d/project/etc/test-config.json index 2afd85d..cf53b96 100644 --- a/conf.d/project/etc/test-config.json +++ b/conf.d/project/etc/test-config.json @@ -5,14 +5,11 @@ "uid": "Test", "version": "1.0", "api": "test", - "info": "Binding made to tests other bindings" + "info": "Binding made to tests other bindings", + "require": [ + "hello" + ] }, - "resources": [{ - "uid": "AFT", - "info": "Binder test framework", - "spath": "var/", - "libs": [ "aft.lua"] - }], "onload": { "uid": "launch_all_tests", "info": "Launch all the tests", @@ -20,11 +17,5 @@ "args": { "files": ["helloworld.lua"] } - }, - "events":[ - { - "uid": "monitor/trace", - "action": "lua://low-can-test#_evt_catcher_" - } - ] + } } -- cgit 1.2.3-korg