aboutsummaryrefslogtreecommitdiffstats
path: root/examples/error_hook/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-09-08 11:30:47 +0200
committerLoïc Hoguin <[email protected]>2013-09-08 11:30:47 +0200
commit6b7b0efd24149d81df47b3241a989a6777bb486b (patch)
tree2e32d8f268546eacb38a19117f16c3021a2e80ba /examples/error_hook/Makefile
parent57e6d1f4165134bc91fc7ccfc28c5b0a74824945 (diff)
downloadcowboy-6b7b0efd24149d81df47b3241a989a6777bb486b.tar.gz
cowboy-6b7b0efd24149d81df47b3241a989a6777bb486b.tar.bz2
cowboy-6b7b0efd24149d81df47b3241a989a6777bb486b.zip
Conver the error hook example to a release
Diffstat (limited to 'examples/error_hook/Makefile')
-rw-r--r--examples/error_hook/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/error_hook/Makefile b/examples/error_hook/Makefile
new file mode 100644
index 0000000..a4313ef
--- /dev/null
+++ b/examples/error_hook/Makefile
@@ -0,0 +1,14 @@
+PROJECT = error_hook
+
+DEPS = cowboy
+dep_cowboy = pkg://cowboy master
+
+.PHONY: release clean-release
+
+release: clean-release all
+ relx
+
+clean-release:
+ rm -rf _rel
+
+include ../../erlang.mk