lib: move some examples/* into specific subdirectories of their lib
authorJean Privat <jean@pryen.org>
Tue, 30 Sep 2014 20:01:08 +0000 (16:01 -0400)
committerJean Privat <jean@pryen.org>
Tue, 30 Sep 2014 23:51:02 +0000 (19:51 -0400)
commita5ff25563eb75cf54fc1c32054036584395f8ec6
tree2167095eb7eab12929aa17ff1d00f82507116074
parent076aa280c157587ff89c85ad9a980608dde87584
lib: move some examples/* into specific subdirectories of their lib

examples/ starts to become a mess.
So move the simple examples of lib into an `example` subdirectory of the lib.

Signed-off-by: Jean Privat <jean@pryen.org>
20 files changed:
lib/ai/examples/examples.nit [new file with mode: 0644]
lib/bcm2835/examples/blink.nit [moved from examples/rpi/blink.nit with 100% similarity]
lib/bcm2835/examples/examples.nit [new file with mode: 0644]
lib/bcm2835/examples/input.nit [moved from examples/rpi/input.nit with 100% similarity]
lib/curl/examples/curl_http.nit [moved from examples/curl_http.nit with 100% similarity]
lib/curl/examples/curl_mail.nit [moved from examples/curl_mail.nit with 100% similarity]
lib/curl/examples/examples.nit [new file with mode: 0644]
lib/glesv2/examples/examples.nit [new file with mode: 0644]
lib/glesv2/examples/opengles2_hello_triangle.nit [moved from examples/opengles2_hello_triangle.nit with 96% similarity]
lib/html/examples/examples.nit [new file with mode: 0644]
lib/html/examples/html_page.nit [moved from examples/html_page.nit with 100% similarity]
lib/privileges/examples/drop_privileges.nit [moved from examples/drop_privileges.nit with 100% similarity]
lib/privileges/examples/examples.nit [new file with mode: 0644]
lib/socket/examples/examples.nit [new file with mode: 0644]
lib/socket/examples/socket_client.nit [moved from examples/socket_client.nit with 100% similarity]
lib/socket/examples/socket_server.nit [moved from examples/socket_server.nit with 99% similarity]
lib/template/examples/examples.nit [new file with mode: 0644]
lib/template/examples/tmpl_composer.nit [moved from examples/tmpl_composer.nit with 100% similarity]
lib/websocket/examples/examples.nit [new file with mode: 0644]
lib/websocket/examples/websocket_server.nit [moved from examples/websocket_server.nit with 99% similarity]