diff --git a/module.json b/sal-td/module.json similarity index 52% rename from module.json rename to sal-td/module.json index f194f1e..4008a6d 100644 --- a/module.json +++ b/sal-td/module.json @@ -1,25 +1,18 @@ { - "name": "sal", - "version": "0.2.1", - "description": "C Socket abstraction layer", + "name": "sal-td", + "version": "0.2.2", + "description": "C Socket abstraction layer (targetDependencies)", "private": true, "keywords": [], "author": "Brendan Moran ", "repository": { - "url": "git@github.com:ARMmbed/mbed-net-socket-abstract.git", + "url": "git@github.com:ARMmbed/sal.git", "type": "git" }, - "homepage": "https://github.com/ARMmbed/mbed-net-socket-abstract", + "homepage": "https://github.com/ARMmbed/sal", "license": "Apache-2", - "dependencies": {}, - "scripts": { - "testReporter": [ - "mbedgt", - "--digest", - "stdin", - "-v", - "-V" - ] + "dependencies": { + "sal":"~0.2.2" }, "targetDependencies": { "lwip": { diff --git a/mbed-net-socket-abstract/socket_api.h b/sal/mbed-net-socket-abstract/socket_api.h similarity index 100% rename from mbed-net-socket-abstract/socket_api.h rename to sal/mbed-net-socket-abstract/socket_api.h diff --git a/mbed-net-socket-abstract/socket_types.h b/sal/mbed-net-socket-abstract/socket_types.h similarity index 100% rename from mbed-net-socket-abstract/socket_types.h rename to sal/mbed-net-socket-abstract/socket_types.h diff --git a/mbed-net-socket-abstract/test/ctest_env.h b/sal/mbed-net-socket-abstract/test/ctest_env.h similarity index 100% rename from mbed-net-socket-abstract/test/ctest_env.h rename to sal/mbed-net-socket-abstract/test/ctest_env.h diff --git a/mbed-net-socket-abstract/test/sal_test_api.h b/sal/mbed-net-socket-abstract/test/sal_test_api.h similarity index 100% rename from mbed-net-socket-abstract/test/sal_test_api.h rename to sal/mbed-net-socket-abstract/test/sal_test_api.h diff --git a/sal/module.json b/sal/module.json new file mode 100644 index 0000000..1d6ea0a --- /dev/null +++ b/sal/module.json @@ -0,0 +1,26 @@ +{ + "name": "sal", + "version": "0.2.2", + "description": "C Socket abstraction layer", + "private": true, + "keywords": [], + "author": "Brendan Moran ", + "repository": { + "url": "git@github.com:ARMmbed/sal.git", + "type": "git" + }, + "homepage": "https://github.com/ARMmbed/sal", + "license": "Apache-2", + "testDependencies": { + "mbed-drivers" : "~0.6.3" + }, + "scripts": { + "testReporter": [ + "mbedgt", + "--digest", + "stdin", + "-v", + "-V" + ] + } +} diff --git a/source/socket_abstract.c b/sal/source/socket_abstract.c similarity index 100% rename from source/socket_abstract.c rename to sal/source/socket_abstract.c diff --git a/source/test/socket_abstract_test.cpp b/sal/source/test/socket_abstract_test.cpp similarity index 100% rename from source/test/socket_abstract_test.cpp rename to sal/source/test/socket_abstract_test.cpp diff --git a/test/stack-registry/main.cpp b/sal/test/stack-registry/main.cpp similarity index 100% rename from test/stack-registry/main.cpp rename to sal/test/stack-registry/main.cpp