Age | Commit message (Collapse) | Author |
|
|
|
Also fixes issues with multi application repositories,
and add support for running a specific group/case in a
given test suite.
|
|
Not only simpler but also faster, especially on Windows.
|
|
Also includes a fix for multi-application repositories.
|
|
This isn't an Erlang application.
|
|
After careful checking, these values are not set because of
an issue in Erlang.mk's autopatch feature. There's no point
in cheating in the test suite. We need to know about it.
|
|
|
|
This way if for some unknown reason $(APP_TO_CLEAN) isn't
defined, we don't delete the entire world.
|
|
They're not needed on master anymore.
|
|
|
|
|
|
|
|
Per request: https://github.com/ninenines/erlang.mk/issues/300
This commit also fixes issues with packages which have a different
name than the application name.
|
|
Better error reporting and can now build everything in parallel.
Failed builds are kept; others are deleted.
The following command builds everything and then gives a diff
of what got fixed/broken since last time ("> " is newly broken,
"< " is newly fixed).
make packages -j 32 -k; make summary
|
|
|
|
Fixes a small warning printed on OSX, and don't run a specific
test on FreeBSD (compiles a C library not compatible with FreeBSD).
|
|
Some systems do not have subsecond file modification detection
capabilities. This is the case in OSX because the HFS+ file
system has 1 second resolution. This is also the case in other
OSes with particular file systems or even shells. For example,
the "test" command in Bash does not support subsecond file times,
while the ZSH one and the /usr/bin/test on my machine does. On
those systems, with Bash, find -newer will work, but not test -nt.
Tests were updated to reflect this. The test Makefile runs a
series of commands to determine if subsecond resolution is available.
When it is not, a sleep command will be executed before relevant
operations in the tests.
Because the Bash shell is often the default shell for Make, and
because users of ZSH may want to avoid sleeping for no reasons,
a new variable was introduced: ZSH=1. When provided when running
tests, the shell will be switched to ZSH, and subsecond resolution
will work as expected. Tests have been fixed to work with ZSH as
well.
All this only applies to tests, Erlang.mk itself is so far not
affected by this issue.
|
|
|
|
|
|
Removes $(ERLANG_MK_TMP) directory on distclean.
* add distclean-tmp target
* add core-clean-tmp test
|
|
|
|
|
|
Sigh. That's what I get for rushing before food.
|
|
|
|
|
|
Use one file per topic, except for "uncategorizable" tests.
|
|
|
|
|
|
https://github.com/rabbitmq/erlang.mk
|
|
|
|
Otherwise CI won't work.
|
|
|
|
https://github.com/rabbitmq/erlang.mk
|
|
|
|
|
|
|
|
This required two changes:
1. Modifying a file inplace using -i is not portable. GNU sed does
not require an argument; the absence of it meaning it should
change the file inplace. sed found on FreeBSD and probably other
BSDs' require an argument, so inplace modification should be
specified as: sed -i ''. Obviously, both -i are incompatible...
The "solution" is to specify a backup suffix and ignore this
backup file.
2. The [1addr]i command takes its argument on the next line
according to the standard (though, it's not explicitely stated,
the syntax example suggests that). GNU sed accepts to have its
argument on the same line as the command, but not FreeBSD's sed.
|
|
Useful to confirm only the relevant header files get
deleted on clean.
|
|
Since all the legacy 'app' tests can be found in the new
format, the 'app' target has been removed.
|
|
This is useful only for projects that are stable and rarely
need to rebuild it. Check the guide additions for more info.
|
|
This one seems to work both here and on CI.
|
|
Was working fine for me, not on CI.
|
|
|
|
|
|
|
|
This also has a case for a file included from another
header file, which is pretty cool!
Thanks Gordon Guthrie for pointing me out to the file. :-)
|
|
|
|
|
|
|
|
|