mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Remove the .app.src file in all examples
This commit is contained in:
parent
5dd9d877b1
commit
cf44496005
36 changed files with 72 additions and 272 deletions
|
@ -1,4 +1,8 @@
|
|||
PROJECT = chunked_hello_world
|
||||
PROJECT_DESCRIPTION = Cowboy chunked Hello World example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, chunked_hello_world, [
|
||||
{description, "Cowboy Chunked Hello World example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [chunked_hello_world_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {chunked_hello_world_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = compress_response
|
||||
PROJECT_DESCRIPTION = Cowboy compressed response example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, compress_response, [
|
||||
{description, "Cowboy Compress Response example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [compress_response_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {compress_response_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = cookie
|
||||
PROJECT_DESCRIPTION = Cowboy Cookie example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy erlydtl
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, cookie, [
|
||||
{description, "Cowboy Cookie example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [cookie_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy,
|
||||
erlydtl
|
||||
]},
|
||||
{mod, {cookie_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = echo_get
|
||||
PROJECT_DESCRIPTION = Cowboy GET echo example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, echo_get, [
|
||||
{description, "Cowboy GET echo example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [echo_get_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {echo_get_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = echo_post
|
||||
PROJECT_DESCRIPTION = Cowboy POST echo example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, echo_post, [
|
||||
{description, "Cowboy POST echo example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [echo_post_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {echo_post_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = error_hook
|
||||
PROJECT_DESCRIPTION = Cowboy error handler example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, error_hook, [
|
||||
{description, "Cowboy error handler example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [error_hook_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {error_hook_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = eventsource
|
||||
PROJECT_DESCRIPTION = Cowboy EventSource example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, eventsource, [
|
||||
{description, "Cowboy EventSource example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [eventsource_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {eventsource_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = hello_world
|
||||
PROJECT_DESCRIPTION = Cowboy Hello World example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, hello_world, [
|
||||
{description, "Cowboy Hello World example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [hello_world_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {hello_world_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = markdown_middleware
|
||||
PROJECT_DESCRIPTION = Cowboy static file handler example with middleware component
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, markdown_middleware, [
|
||||
{description, "Cowboy static file handler example with middleware component."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [markdown_middleware_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {markdown_middleware_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = rest_basic_auth
|
||||
PROJECT_DESCRIPTION = Cowboy Basic HTTP Authorization example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, rest_basic_auth, [
|
||||
{description, "Cowboy Basic HTTP Authorization example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [rest_basic_auth_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {rest_basic_auth_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = rest_hello_world
|
||||
PROJECT_DESCRIPTION = Cowboy REST Hello World example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, rest_hello_world, [
|
||||
{description, "Cowboy REST Hello World example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [rest_hello_world_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {rest_hello_world_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = rest_pastebin
|
||||
PROJECT_DESCRIPTION = Cowboy REST Pastebin example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, rest_pastebin, [
|
||||
{description, "Cowboy REST Pastebin example inspired by sprunge."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [rest_pastebin_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {rest_pastebin_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = rest_stream_response
|
||||
PROJECT_DESCRIPTION = Cowboy REST example with streaming
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, rest_stream_response, [
|
||||
{description, "Cowboy REST with streaming."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [rest_stream_response_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {rest_stream_response_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = ssl_hello_world
|
||||
PROJECT_DESCRIPTION = Cowboy SSL Hello World example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, ssl_hello_world, [
|
||||
{description, "Cowboy Hello World example with SSL."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [ssl_hello_world_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy,
|
||||
ssl
|
||||
]},
|
||||
{mod, {ssl_hello_world_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = static_world
|
||||
PROJECT_DESCRIPTION = Cowboy static file handler example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, static_world, [
|
||||
{description, "Cowboy static file handler example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [static_world_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {static_world_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = upload
|
||||
PROJECT_DESCRIPTION = Cowboy multipart upload example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, upload, [
|
||||
{description, "Cowboy multipart upload example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [upload_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {upload_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = web_server
|
||||
PROJECT_DESCRIPTION = Cowboy static directory indexing example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, web_server, [
|
||||
{description, "Cowboy static file handler with directory indexes."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [web_server_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {web_server_app, []}},
|
||||
{env, []}
|
||||
]}.
|
|
@ -1,4 +1,8 @@
|
|||
PROJECT = websocket
|
||||
PROJECT_DESCRIPTION = Cowboy Websocket example
|
||||
PROJECT_VERSION = 1
|
||||
|
||||
DEPS = cowboy
|
||||
dep_cowboy = git https://github.com/ninenines/cowboy master
|
||||
|
||||
include ../../erlang.mk
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
{application, websocket, [
|
||||
{description, "Cowboy websocket example."},
|
||||
{vsn, "1"},
|
||||
{modules, []},
|
||||
{registered, [websocket_sup]},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib,
|
||||
cowboy
|
||||
]},
|
||||
{mod, {websocket_app, []}},
|
||||
{env, []}
|
||||
]}.
|
Loading…
Add table
Add a link
Reference in a new issue