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