rabbitmq-server/deps/rabbit_common/mk
Michael Davis 38091430b5
make: Suppress Elixir charlist warning for dialyze target
The `:io.format/2` call was originally passed a single-quote string
(i.e. a charlist in Elixir terminology) which emits a warning in more
recent Elixir versions:

    warning: single-quoted strings represent charlists. Use ~c"" if you indeed want a charlist or use "" instead
    └─ nofile:1:12

This warning would pop up a few times when using `make dialyze` within
a deps directory. To resolve it we can switch the quoting so that the
eval string is wrapped in single quotes (equivalent for shell since this
line doesn't use variables) and the format argument is wrapped in double
quotes. This uses a binary in Elixir instead, but that's ok because
`io:format/3`'s `io:format()` parameter may either be an atom, string,
or binary.

This trick was copied from Makefile:49 which uses the same quoting.
2024-12-03 12:02:25 -05:00
..
rabbitmq-build.mk make: Include rabbitmq_cli ebin in code path only if in deps 2024-09-30 12:35:42 +02:00
rabbitmq-components.hexpm.mk make: Refactor PROJECT_VERSION computation 2024-08-29 15:19:14 +02:00
rabbitmq-dist.mk Make CI: Add mixed version testing 2024-10-25 13:50:05 +02:00
rabbitmq-early-plugin.mk make: Suppress Elixir charlist warning for dialyze target 2024-12-03 12:02:25 -05:00
rabbitmq-hexpm.mk make: Restrict Erlang.mk plugin inclusion 2024-08-29 15:19:50 +02:00
rabbitmq-plugin.mk make: Restrict Erlang.mk plugin inclusion 2024-08-29 15:19:50 +02:00
rabbitmq-run.mk Abort restart-cluster if something goes wrong 2024-10-30 12:58:35 +01:00