This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
62 lines (49 loc) · 1.93 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.PHONY: update-schemas
PROJECT = idp
PROJECT_DESCRIPTION = Identity Provider.
DEP_PLUGINS = \
version.mk
DEPS = \
lager \
lager_syslog \
riakc_pool \
riakauth \
riakacl \
jose \
uuid \
cowboy \
exometer
IGNORE_DEPS = \
folsom \
bear
NO_AUTOPATCH = \
riak_pb
dep_lager = git https://github.com/erlang-lager/lager.git 3.5.1
dep_lager_syslog = git git://github.com/basho/lager_syslog.git 3.0.3
dep_riakc_pool = git git://github.com/manifest/riak-connection-pool.git v0.2.1
dep_riakauth = git git://github.com/manifest/riak-auth.git v0.1.3
dep_riakacl = git git://github.com/manifest/riak-acl.git v0.2.0
dep_jose = git git://github.com/manifest/jose-erlang.git v0.1.2
dep_uuid = git git://github.com/okeuday/uuid.git v1.7.1
dep_cowboy = git git://github.com/ninenines/cowboy.git 2.0.0-rc.2
dep_exometer = git git://github.com/Feuerlabs/exometer.git 1.2.1
BUILD_DEPS = version.mk
dep_version.mk = git git://github.com/manifest/version.mk.git master
TEST_DEPS = ct_helper gun
dep_ct_helper = git git://github.com/ninenines/ct_helper.git master
dep_gun = git git://github.com/manifest/gun.git feature/head-1xx
SHELL_DEPS = tddreloader
SHELL_OPTS = \
-eval 'application:ensure_all_started($(PROJECT), permanent)' \
-s tddreloader start \
-config rel/sys
include erlang.mk
GEN_IDP_ACCOUNT_SCHEMA_OUT = priv/riak-kv/schemas/idp_account.xml
GEN_IDP_ACCOUNT_SCHEMA_SRC = deps/riakauth/priv/riak-kv/schemas/riakauth_account.xml
GEN_IDP_ACCOUNT_ACLSUBJECT_SCHEMA_OUT = priv/riak-kv/schemas/idp_account_aclsubject.xml
GEN_IDP_ACCOUNT_ACLSUBJECT_SCHEMA_SRC = deps/riakacl/priv/riak-kv/schemas/riakacl_subject.xml
update-schemas: fetch-shell-deps
$(verbose) cp $(GEN_IDP_ACCOUNT_SCHEMA_SRC) $(GEN_IDP_ACCOUNT_SCHEMA_OUT)
$(verbose) cp $(GEN_IDP_ACCOUNT_ACLSUBJECT_SCHEMA_SRC) $(GEN_IDP_ACCOUNT_ACLSUBJECT_SCHEMA_OUT)
export DEVELOP_ENVIRONMENT = $(shell if [ -f .develop-environment ]; then cat .develop-environment; fi)
export EXOMETER_PACKAGES='(minimal)'