diff options
author | Loïc Hoguin <[email protected]> | 2017-08-23 16:04:54 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-08-23 16:04:54 +0200 |
commit | 46bef5c9067675f04e22679adbade9b2ed6dc0f4 (patch) | |
tree | 373ed7f33bf2a2c42314a5085ee74b24aa387b00 /plugins | |
parent | daa3cc16bedb5f9db691ef4b670099f1bf26a1e4 (diff) | |
download | erlang.mk-46bef5c9067675f04e22679adbade9b2ed6dc0f4.tar.gz erlang.mk-46bef5c9067675f04e22679adbade9b2ed6dc0f4.tar.bz2 erlang.mk-46bef5c9067675f04e22679adbade9b2ed6dc0f4.zip |
Style tweak
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/triq.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/triq.mk b/plugins/triq.mk index 4e6482b..9d5a30f 100644 --- a/plugins/triq.mk +++ b/plugins/triq.mk @@ -9,7 +9,10 @@ ifeq ($(filter triq,$(DEPS) $(TEST_DEPS)),triq) tests:: triq define triq_check.erl - code:add_pathsa(["$(call core_native_path,$(CURDIR)/ebin)", "$(call core_native_path,$(DEPS_DIR)/*/ebin)", "$(call core_native_path,$(TEST_DIR))"]), + code:add_pathsa([ + "$(call core_native_path,$(CURDIR)/ebin)", + "$(call core_native_path,$(DEPS_DIR)/*/ebin)", + "$(call core_native_path,$(TEST_DIR))"]), try case $(1) of all -> [true] =:= lists:usort([triq:check(M) || M <- [$(call comma_list,$(3))]]); @@ -36,7 +39,8 @@ triq: test-build endif else triq: test-build - $(eval MODULES := $(patsubst %,'%',$(sort $(notdir $(basename $(wildcard ebin/*.beam))) $(notdir $(basename $(call core_find,$(TEST_DIR)/,*.beam)))))) + $(eval MODULES := $(patsubst %,'%',$(sort $(notdir $(basename \ + $(wildcard ebin/*.beam) $(call core_find,$(TEST_DIR)/,*.beam)))))) $(gen_verbose) $(call erlang,$(call triq_check.erl,all,undefined,$(MODULES))) endif endif |