aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.config1
-rw-r--r--plugins/syntastic.mk13
2 files changed, 14 insertions, 0 deletions
diff --git a/build.config b/build.config
index 0ba1245..dad175c 100644
--- a/build.config
+++ b/build.config
@@ -32,6 +32,7 @@ plugins/escript
plugins/eunit
plugins/relx
plugins/shell
+plugins/syntastic
plugins/triq
plugins/xref
diff --git a/plugins/syntastic.mk b/plugins/syntastic.mk
new file mode 100644
index 0000000..93a766a
--- /dev/null
+++ b/plugins/syntastic.mk
@@ -0,0 +1,13 @@
+# Copyright (c) 2017, Jean-Sébastien Pédron <[email protected]>
+# This file is contributed to erlang.mk and subject to the terms of the ISC License.
+
+.PHONY: show-ERL_LIBS show-ERLC_OPTS show-TEST_ERLC_OPTS
+
+show-ERL_LIBS:
+ @echo $(ERL_LIBS)
+
+show-ERLC_OPTS:
+ @$(foreach opt,$(ERLC_OPTS) -pa ebin -I include,echo "$(opt)";)
+
+show-TEST_ERLC_OPTS:
+ @$(foreach opt,$(TEST_ERLC_OPTS) -pa ebin -I include,echo "$(opt)";)