aboutsummaryrefslogtreecommitdiffstats
path: root/examples/websocket/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-09-09 16:21:53 +0200
committerLoïc Hoguin <[email protected]>2013-09-09 16:21:53 +0200
commit834056402ac4a94baa1ab622f127dfdd84826bc3 (patch)
tree41df4341045ae9309e15dbd4f7812d18048e4e7b /examples/websocket/Makefile
parent6a90d00ceee9c95d5d80190736e04f35bd04d8f4 (diff)
downloadcowboy-834056402ac4a94baa1ab622f127dfdd84826bc3.tar.gz
cowboy-834056402ac4a94baa1ab622f127dfdd84826bc3.tar.bz2
cowboy-834056402ac4a94baa1ab622f127dfdd84826bc3.zip
Convert the websocket example to a release
Diffstat (limited to 'examples/websocket/Makefile')
-rw-r--r--examples/websocket/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/websocket/Makefile b/examples/websocket/Makefile
new file mode 100644
index 0000000..0c6826c
--- /dev/null
+++ b/examples/websocket/Makefile
@@ -0,0 +1,14 @@
+PROJECT = websocket
+
+DEPS = cowboy
+dep_cowboy = pkg://cowboy master
+
+.PHONY: release clean-release
+
+release: clean-release all
+ relx
+
+clean-release:
+ rm -rf _rel
+
+include ../../erlang.mk