Age | Commit message (Collapse) | Author |
|
|
|
In particular, xrefr 1.1.0 now exits with a non-zero exit status if
there are any warnings reported. This makes `make xref` fail
appropriately.
|
|
Before this change, the build would continue, even if a dependency
failed to build. This could lead to obscure errors in the middle of a
testsuite for instance.
With this change, the build fails immediately, exactly like when a
regular dependency fails to build.
While here, replace most uses of `|| exit $$?` with `set -e`. This
simplifies error handling if we need to add more commands to each
blocks.
Also, echo error messages to stderr.
|
|
Before this change, the help message for this plugin was:
Xref targets:
xref Run Xrefr using REF_CONFIG as config file if defined
Note the missing `$X` before `REF_CONFIG`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Syntastic, an Erlang syntax checker plugin for Vim, uses the Erlang
compile application to get compilation errors and warnings. Therefore it
needs cooperation from the build system to get the appropriate compile
flags.
Currently it supports Rebar by parsing the configuration file. To add
support for Erlang.mk, we need new Make targets to return the compile
flags.
This plugin adds three targets:
o make show-ERL_LIBS
o make show-ERLC_OPTS
o make show-TEST_ERLC_OPTS
Separate patches for Syntastic's builtin checker and syntaxerl are
ready: they simply run those targets and parse the output.
|
|
... not $(ESCRIPT_NAME), which can be set to another value.
While here, add a testcase for `make distclean`.
|
|
|
|
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/.
|
|
|
|
Official name after all.
|
|
Oops!
[ci skip]
|
|
The VM used to test LLVM built code is the --enable-native-libs one.
|
|
|
|
|
|
This is a start for moving from Python's Asciidoc to
the Erlang implementation.
Please report any issue with this change, I will fix everything
at lightning speed!
|
|
|
|
|
|
The plugin can now easily generate escripts as complex as relx
or rebar/rebar3. It generates a proper structure and allows
embedding extra files by extending the escript-zip target.
Documentation and tests have been added.
|
|
This will make sure we don't look twice.
Also make a single call to find the common file formats
rather than many calls.
|
|
|
|
Plus small tweaks.
|
|
The initial documentation is a bit rough. It's getting late and
I'd like to have this in sooner rather than later. :-)
|
|
|
|
Makes more sense than 0.0.1.
|
|
The previous approach spawned a shell for every single source files. As
we disable parallel make jobs, this is very time consuming.
The new approach uses an intermediate timestamp file in $(ERLANG_MK_TMP)
to record the last modification of any of $(MAKEFILE_LIST) and touch
all source files in one command. Then, the .app file depends on this
timestamp file.
We test the existence of this timestamp file: if if doesn't exist, don't
touch source files, they will be built anyway.
$(PROJECT).d now depends directly on $(MAKEFILE_LIST); before, this
dependency was indirect through $(ERL_FILES). Also, once $(ERL_FILES)
were touched, we do the same with $(PROJECT).d because there is no need
to regen it because of this.
|
|
|
|
|
|
This is a proof of concept at the moment. It only runs
the release in 'console' mode at the moment. I am expecting
users to want a mix of both self extracting (without removing
when done) and self running (with removal when done) archives.
There is currently no way to configure the behavior and so
the files get deleted when the release terminates (self running
use case).
The SFX archive will only be created when the SFX variable
is set (either in the Makefile or through the command-line).
There are currently no documentation. Just "make SFX=1".
|
|
|
|
|
|
We always want the most recent version and only this.
|
|
|
|
Safer than through insecure HTTPS.
|
|
|
|
|
|
DTL_SUFFIX:
- make sure it is actually used
- add a test for it (and one combined with other options)
DTL_PATH:
- handle correctly with or without trailing /
- don't hard-code the `doc_root` opt - the erlydtl default is better
|
|
|
|
We need to clean before attempting to wildcard ebin/test.
To do that, we need to invoke "make clean" separately.
|
|
https://github.com/rabbitmq/erlang.mk
|
|
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.
|
|
|
|
|
|
Allow eunit test to access to project's priv_dir.
|