|
@@ -40,7 +40,7 @@ eunit: $(REBAR)
|
|
|
|
|
|
|
|
.PHONY: proper
|
|
.PHONY: proper
|
|
|
proper: $(REBAR)
|
|
proper: $(REBAR)
|
|
|
- @ENABLE_COVER_COMPILE=1 $(REBAR) as test proper -d test/props -c
|
|
|
|
|
|
|
+ @ENABLE_COVER_COMPILE=1 $(REBAR) proper -d test/props -c
|
|
|
|
|
|
|
|
.PHONY: ct
|
|
.PHONY: ct
|
|
|
ct: $(REBAR)
|
|
ct: $(REBAR)
|
|
@@ -56,6 +56,14 @@ $1-ct:
|
|
|
endef
|
|
endef
|
|
|
$(foreach app,$(APPS),$(eval $(call gen-app-ct-target,$(app))))
|
|
$(foreach app,$(APPS),$(eval $(call gen-app-ct-target,$(app))))
|
|
|
|
|
|
|
|
|
|
+## apps/name-prop targets
|
|
|
|
|
+.PHONY: $(APPS:%=%-prop)
|
|
|
|
|
+define gen-app-prop-target
|
|
|
|
|
+$1-prop:
|
|
|
|
|
+ $(REBAR) proper -d test/props -v -m $(shell $(CURDIR)/scripts/find-props.sh $1)
|
|
|
|
|
+endef
|
|
|
|
|
+$(foreach app,$(APPS),$(eval $(call gen-app-prop-target,$(app))))
|
|
|
|
|
+
|
|
|
.PHONY: cover
|
|
.PHONY: cover
|
|
|
cover: $(REBAR)
|
|
cover: $(REBAR)
|
|
|
@ENABLE_COVER_COMPILE=1 $(REBAR) cover
|
|
@ENABLE_COVER_COMPILE=1 $(REBAR) cover
|