aboutsummaryrefslogtreecommitdiffstats
path: root/examples/eventsource/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-09-08 11:48:48 +0200
committerLoïc Hoguin <[email protected]>2013-09-08 11:48:48 +0200
commit49acfce8b9d0af8cc87b9be7ba91ffde307596da (patch)
treec7727f3f520b3d66401951004d9d4eac575f5380 /examples/eventsource/Makefile
parent6b7b0efd24149d81df47b3241a989a6777bb486b (diff)
downloadcowboy-49acfce8b9d0af8cc87b9be7ba91ffde307596da.tar.gz
cowboy-49acfce8b9d0af8cc87b9be7ba91ffde307596da.tar.bz2
cowboy-49acfce8b9d0af8cc87b9be7ba91ffde307596da.zip
Convert the EventSource example to a release
Diffstat (limited to 'examples/eventsource/Makefile')
-rw-r--r--examples/eventsource/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/eventsource/Makefile b/examples/eventsource/Makefile
new file mode 100644
index 0000000..176c9e0
--- /dev/null
+++ b/examples/eventsource/Makefile
@@ -0,0 +1,14 @@
+PROJECT = eventsource
+
+DEPS = cowboy
+dep_cowboy = pkg://cowboy master
+
+.PHONY: release clean-release
+
+release: clean-release all
+ relx
+
+clean-release:
+ rm -rf _rel
+
+include ../../erlang.mk