aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cookie/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-09-07 21:58:03 +0200
committerLoïc Hoguin <[email protected]>2013-09-07 21:58:03 +0200
commit340f0a51123b476bca765b87d3f36411e896b5e3 (patch)
treeabeb1a43aa027f3b209c7b42a573b090b1a1deb1 /examples/cookie/Makefile
parent2f25c654b02d72a7c0017c20d11ed6a720d640c6 (diff)
downloadcowboy-340f0a51123b476bca765b87d3f36411e896b5e3.tar.gz
cowboy-340f0a51123b476bca765b87d3f36411e896b5e3.tar.bz2
cowboy-340f0a51123b476bca765b87d3f36411e896b5e3.zip
Convert the cookie example to a release
Diffstat (limited to 'examples/cookie/Makefile')
-rw-r--r--examples/cookie/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/cookie/Makefile b/examples/cookie/Makefile
new file mode 100644
index 0000000..fe61f29
--- /dev/null
+++ b/examples/cookie/Makefile
@@ -0,0 +1,15 @@
+PROJECT = cookie
+
+DEPS = cowboy erlydtl
+dep_cowboy = pkg://cowboy master
+dep_erlydtl = pkg://erlydtl master
+
+.PHONY: release clean-release
+
+release: clean-release all
+ relx
+
+clean-release:
+ rm -rf _rel
+
+include ../../erlang.mk