aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-09-08 12:22:52 +0200
committerLoïc Hoguin <[email protected]>2013-09-08 12:22:52 +0200
commitdacaf5d293aacd0e98c5aca39c4cf03ec52d12dc (patch)
tree9ff689396a2085d394775dd3ad139b2f87a47193 /examples
parent81843414b00f3d1829db5f105206396985f1196c (diff)
downloadcowboy-dacaf5d293aacd0e98c5aca39c4cf03ec52d12dc.tar.gz
cowboy-dacaf5d293aacd0e98c5aca39c4cf03ec52d12dc.tar.bz2
cowboy-dacaf5d293aacd0e98c5aca39c4cf03ec52d12dc.zip
Add missing files to the REST basic auth example
Diffstat (limited to 'examples')
-rw-r--r--examples/rest_basic_auth/Makefile14
-rw-r--r--examples/rest_basic_auth/relx.config2
2 files changed, 16 insertions, 0 deletions
diff --git a/examples/rest_basic_auth/Makefile b/examples/rest_basic_auth/Makefile
new file mode 100644
index 0000000..aa73c91
--- /dev/null
+++ b/examples/rest_basic_auth/Makefile
@@ -0,0 +1,14 @@
+PROJECT = rest_basic_auth
+
+DEPS = cowboy
+dep_cowboy = pkg://cowboy master
+
+.PHONY: release clean-release
+
+release: clean-release all
+ relx
+
+clean-release:
+ rm -rf _rel
+
+include ../../erlang.mk
diff --git a/examples/rest_basic_auth/relx.config b/examples/rest_basic_auth/relx.config
new file mode 100644
index 0000000..1f75b28
--- /dev/null
+++ b/examples/rest_basic_auth/relx.config
@@ -0,0 +1,2 @@
+{release, {rest_basic_auth_example, "1"}, [rest_basic_auth]}.
+{extended_start_script, true}.