Browse Source

Add missing files to the REST basic auth example

Loïc Hoguin 11 years ago
parent
commit
dacaf5d293
2 changed files with 16 additions and 0 deletions
  1. 14 0
      examples/rest_basic_auth/Makefile
  2. 2 0
      examples/rest_basic_auth/relx.config

+ 14 - 0
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

+ 2 - 0
examples/rest_basic_auth/relx.config

@@ -0,0 +1,2 @@
+{release, {rest_basic_auth_example, "1"}, [rest_basic_auth]}.
+{extended_start_script, true}.