aboutsummaryrefslogtreecommitdiffstats
path: root/examples/static_world/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-09-09 15:51:41 +0200
committerLoïc Hoguin <[email protected]>2013-09-09 15:51:41 +0200
commit28f90b81fa25ebba578bc1b449ddf66d1a82ea3e (patch)
treec46e6860cbebd73fa4dbff0551409585d3bcff73 /examples/static_world/Makefile
parent24a22fa657af8398c963889d0bf08a904c96ec8c (diff)
downloadcowboy-28f90b81fa25ebba578bc1b449ddf66d1a82ea3e.tar.gz
cowboy-28f90b81fa25ebba578bc1b449ddf66d1a82ea3e.tar.bz2
cowboy-28f90b81fa25ebba578bc1b449ddf66d1a82ea3e.zip
Convert the static handler example to a release
Temporarily hardcode the list of mimetypes.
Diffstat (limited to 'examples/static_world/Makefile')
-rw-r--r--examples/static_world/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/static_world/Makefile b/examples/static_world/Makefile
new file mode 100644
index 0000000..4c7b600
--- /dev/null
+++ b/examples/static_world/Makefile
@@ -0,0 +1,14 @@
+PROJECT = static_world
+
+DEPS = cowboy
+dep_cowboy = pkg://cowboy master
+
+.PHONY: release clean-release
+
+release: clean-release all
+ relx
+
+clean-release:
+ rm -rf _rel
+
+include ../../erlang.mk