aboutsummaryrefslogtreecommitdiffstats
path: root/examples/error_hook
diff options
context:
space:
mode:
Diffstat (limited to 'examples/error_hook')
-rw-r--r--examples/error_hook/Makefile4
-rw-r--r--examples/error_hook/src/error_hook.app.src15
2 files changed, 4 insertions, 15 deletions
diff --git a/examples/error_hook/Makefile b/examples/error_hook/Makefile
index 73242df..17fe836 100644
--- a/examples/error_hook/Makefile
+++ b/examples/error_hook/Makefile
@@ -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
diff --git a/examples/error_hook/src/error_hook.app.src b/examples/error_hook/src/error_hook.app.src
deleted file mode 100644
index 728fd35..0000000
--- a/examples/error_hook/src/error_hook.app.src
+++ /dev/null
@@ -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, []}
-]}.