aboutsummaryrefslogtreecommitdiffstats
path: root/examples/rest_hello_world/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-09-08 12:22:30 +0200
committerLoïc Hoguin <[email protected]>2013-09-08 12:22:30 +0200
commit81843414b00f3d1829db5f105206396985f1196c (patch)
treeeb4fe671fc005288b11a4d2c5f33ee0f287ef2ad /examples/rest_hello_world/Makefile
parent49acfce8b9d0af8cc87b9be7ba91ffde307596da (diff)
downloadcowboy-81843414b00f3d1829db5f105206396985f1196c.tar.gz
cowboy-81843414b00f3d1829db5f105206396985f1196c.tar.bz2
cowboy-81843414b00f3d1829db5f105206396985f1196c.zip
Convert the REST hello world example to a release
Diffstat (limited to 'examples/rest_hello_world/Makefile')
-rw-r--r--examples/rest_hello_world/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/rest_hello_world/Makefile b/examples/rest_hello_world/Makefile
new file mode 100644
index 0000000..031d26e
--- /dev/null
+++ b/examples/rest_hello_world/Makefile
@@ -0,0 +1,14 @@
+PROJECT = rest_hello_world
+
+DEPS = cowboy
+dep_cowboy = pkg://cowboy master
+
+.PHONY: release clean-release
+
+release: clean-release all
+ relx
+
+clean-release:
+ rm -rf _rel
+
+include ../../erlang.mk