aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/dialyzer.mk
AgeCommit message (Collapse)Author
2023-05-23Remove deprecated --no_native option from dialyzerMichal Kuratczyk
2022-03-25Dialyzer no longer supports -Wrace_conditions as of Erlang 25Michael Klishin
Closes #941
2018-12-04Rebuild the PLT file when the Erlang/OTP version has changedLoïc Hoguin
2018-12-04Fix and document Dialyzer against beam filesLoïc Hoguin
2018-11-30Fix Dialyzer when a project has and uses parse transformsLoïc Hoguin
2018-07-05Swallow warnings when creating a PLTKrzysztof Jurewicz
2018-05-14Add undocumented option DIALYZER_PLT_OPTSLoïc Hoguin
To be used as a workaround to enable --no_native when there are issues with distro packages.
2018-05-07Escape double quotes when passing ERLC_OPTS during testsLoïc Hoguin
2016-11-29Give ebin paths when creating the PLTLoïc Hoguin
Before we had Dialyzer look for BEAM files in every subfolders of every deps. This resulted in the PLT bundling extra files and/or Dialyzer failing because some of them are not built with +debug_info, or because there are duplicates (in test logs for example). Now Dialyzer will only look in ebin/.
2016-10-31Fix a missing file warningLoïc Hoguin
2016-10-30Fix running Dialyzer on apps/* when they have depsLoïc Hoguin
2016-10-21Update Copyright notices2016.10.21Loïc Hoguin
2016-09-08dialyzer.mk: Use the shell to parse command line argsJean-Sébastien Pédron
Splitting arguments on `-` was dangerous: if a path contained such a character, it would be split and the second half thrown away by the filtering. Now, `$(ERLC_OPTS)` is passed to erl(1) after `-extra`. Thus arguments parsing is done by the shell and we only have to call init:get_plain_arguments/0 to get them as a list.
2015-12-01Test and document DialyzerLoïc Hoguin
One bug was fixed: now Erlang.mk will properly pass relevant ERLC_OPTS values to Dialyzer. One bug still exists when using multi-application repositories: dependencies are not detected automatically. We need list-deps before this can work.
2015-09-29Add support for APPS_DIRLoïc Hoguin
This changes adds Rebar-like "apps/" functionality. From this commit onward, Erlang.mk supports 4 types of repositories: - Repo with an Erlang app at root level + deps/ - Repo with an Erlang app at root level + apps/ deps/ - Repo with no app at root level + deps/ - Repo with no app at root level + apps/ deps/ Example usage: - make new-app in=webchat - make new t=gen_server n=my_chat in=webchat - make Replace new-app with new-lib to create an OTP library instead of an OTP application.
2015-07-04Add $(verbose) to avoid completely silencing commandsLoïc Hoguin
2015-06-14Generate the .app file directly from the MakefileLoïc Hoguin
This removes the need for a .app.src file entirely. The PROJECT_* variables and the OTP_DEPS variable allow us to specify everything we need. REL_DEPS and BUILD_DEPS will be added later on to allow users to cleanly specify those without adding them to the .app file.
2015-05-07Add a check targetLoïc Hoguin
Compiles, runs tests and runs all sorts of analysis like Dialyzer.
2015-01-12Update copyright yearLoïc Hoguin
Also added a copyright line in the eunit plugin due to the extensive work I have done there a few days ago.
2014-11-01Allow overriding the method and directories analyzed by DialyzerLoïc Hoguin
2014-08-06build plt automaticly when is missingAndrzej Sliwa
2014-07-25Make Dialyzer find source files recursivelyLoïc Hoguin
2014-07-20Allow $DIALYZER_OPTS to add more source directoriesJay Nelson
The current ordering of args in the dialyzer command don't allow additional source directories to be specified. Putting --no_native first allows the beginning of the $DIALYZER_OPTS to specify additional directories of files to be analyzed.
2014-05-28Cut erlang.mk into many small componentsLoïc Hoguin
* The build.config says what gets into the generated erlang.mk. * The default erlang.mk in the repository hasn't changed yet. * Clean targets were separated into "clean" and "distclean". * The "help" target was added to display some help message. I probably broke a couple things...