aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
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}.