aboutsummaryrefslogtreecommitdiffstats
path: root/examples/web_server/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-09-09 16:10:58 +0200
committerLoïc Hoguin <[email protected]>2013-09-09 16:10:58 +0200
commit6a90d00ceee9c95d5d80190736e04f35bd04d8f4 (patch)
treec9a388e324260d0213bdf7fd354a8eed06e6eb0f /examples/web_server/Makefile
parent8bb7c180ff3a169557e24c8eb7e3e8e4b5645cbf (diff)
downloadcowboy-6a90d00ceee9c95d5d80190736e04f35bd04d8f4.tar.gz
cowboy-6a90d00ceee9c95d5d80190736e04f35bd04d8f4.tar.bz2
cowboy-6a90d00ceee9c95d5d80190736e04f35bd04d8f4.zip
Convert the web_server example to a release
Temporary mimetypes list here too.
Diffstat (limited to 'examples/web_server/Makefile')
-rw-r--r--examples/web_server/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/web_server/Makefile b/examples/web_server/Makefile
new file mode 100644
index 0000000..57cd131
--- /dev/null
+++ b/examples/web_server/Makefile
@@ -0,0 +1,14 @@
+PROJECT = web_server
+
+DEPS = cowboy
+dep_cowboy = pkg://cowboy master
+
+.PHONY: release clean-release
+
+release: clean-release all
+ relx
+
+clean-release:
+ rm -rf _rel
+
+include ../../erlang.mk