aboutsummaryrefslogtreecommitdiffstats
path: root/core
AgeCommit message (Collapse)Author
2015-05-12Autopatch by defaultLoïc Hoguin
Also fix a number of issues with packages from the index. Some packages were temporarily removed and will be added back once they build correctly.
2015-05-10Convert autopatch to an Erlang snippetLoïc Hoguin
2015-05-10Convert the Erlang version of core_http_get to an Erlang snippetLoïc Hoguin
2015-05-10Fix an issue with escaping double quotes of Erlang snippetsLoïc Hoguin
2015-05-09Add a 'run' command to run the relx releaseLoïc Hoguin
Should only be used during development. Stolen idea from Tristan Sloughter who stole it from Ahmad Sherif. This commit also introduces the 'erlang' function for executing Erlang code written directly in the Makefile. The rest of the project will eventually move to using it as it's much cleaner than the previous solution.
2015-05-09Skip any handling of dependencies if SKIP_DEPS is definedLoïc Hoguin
This includes fetching and compilation. Example usage: SKIP_DEPS=1 make tests Should improve people's life when there are no Internets.
2015-05-09Merge branch 'cover' of https://github.com/zuiderkwast/erlang.mkLoïc Hoguin
Rebased and moved ct.cover.spec into the test/ directory.
2015-05-09Silence fetching of dependenciesLoïc Hoguin
2015-05-08Fully specify the ct pathsLoïc Hoguin
Avoids some annoying warnings when Common Test runs. I believe this is a regression.
2015-05-07Add a check targetLoïc Hoguin
Compiles, runs tests and runs all sorts of analysis like Dialyzer.
2015-05-07Add Asciidoc documentation supportLoïc Hoguin
2015-05-07Merge branch 'pu-autopatch-hint' of https://github.com/kaos/erlang.mkLoïc Hoguin
2015-05-07Merge branch 'pu-autopatch-fix' of https://github.com/kaos/erlang.mkLoïc Hoguin
2015-05-07Support for copying dependenciesJohan Persson
2015-04-17propagate failed deps builds.Andreas Stenius
Unless we return a non-zero result from the deps target, any issues in the build of a dependency will be masked.
2015-03-27always apply autopatch when requested. fixes #217.Andreas Stenius
If rebar.config is found, the `deps` and `erl_first_files` options are migrated to the Makefile for erlang.mk
2015-03-26Require makefile to build dep. Fixes #218.Andreas Stenius
2015-01-24Combined coverage report for eunit and ctViktor Söderqvist
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.
2015-01-12Add "necessary evil" autopatch featureLoïc Hoguin
The point of this feature is to fix common issues users experience. This feature, when used, attempts to fix projects that are incompatible with erlang.mk. It currently is able to build a new Makefile based on information it finds in a rebar.config file (only deps for now) and also to fix the .app.src file in various ways.
2015-01-10Introduce test builds and unify testing tools interfaceLoïc Hoguin
The general idea is that erlang.mk now keeps track of what kind of build it generated. A test build is valid for all subsequent test target invocations. A normal build is only valid for itself and releases. This rework adds the ability to specify deps to eunit. The EUNIT_DIR variable is gone in favor of a more global TEST_DIR. The tests-ct target got renamed to ct and documented. Many more minor changes were done during the course of testing these changes.
2015-01-10Improve the target 'all'Loïc Hoguin
No more plugin stuff creeping into core.
2015-01-08Temporary fix: don't run rel if not needed with -jLoïc Hoguin
2015-01-08Speed up "erl" invocationsLoïc Hoguin
Use "+A0 -noinput -boot start_clean" as start argument. Use halt/{1,2} to shutdown the VM faster.
2015-01-07Fix parallel compilationLoïc Hoguin
Parallel compilation is now only enabled for "make" and "make deps app". To ensure order we spawn a new Make process for "deps", "app" and "rel" when the "all" target (or no target) is used.
2015-01-06Document parallel execution (-j flag)Loïc Hoguin
2015-01-06Merge branch 'deps_app_rel_order' of https://github.com/stolen/erlang.mkLoïc Hoguin
2014-12-26add svn dependenciesChristopher Vance
2014-12-23Build deps, app, rel targets really in that orderDanil Zagoskin
2014-11-25Remove +warn_export_all from the enabled warnings by defaultLoïc Hoguin
People who don't want export_all simply don't use it. The warning is annoying for those edge cases where it's actually useful, as it can't be disabled on a per-file basis.
2014-11-25Group clean-app commandsLoïc Hoguin
Smaller non-verbose output.
2014-11-19Don't try to compile mibs if the mibs/ directory is missingLoïc Hoguin
2014-11-19Merge branch 'compile-mibs' of git://github.com/danielwhite/erlang.mkLoïc Hoguin
Fixed a small whitespace issue in the silent output.
2014-11-18Merge branch 'erlc-excl' of git://github.com/efcasado/erlang.mkLoïc Hoguin
2014-11-18Add support for excluding erl filesEnrique Fernandez
2014-11-15Support for compiling SNMP MIBsDaniel White
This is unfortunately unsuited as a plugin due to its dependence on erlc for compilation. The MIBs must be compiled before an Erlang source.
2014-11-05Add an erlang-mk target for automated updating of erlang.mkLoïc Hoguin
2014-11-01Compile Makefile-free dependencies with +debug_info onlyLoïc Hoguin
As much as I dislike this change, this should simplify the process of moving to erlang.mk.
2014-11-01Don't distclean PKG_FILE2 if it's customLoïc Hoguin
2014-10-30erlc: update {id, git} in .app.src with git describe outputDave Cottlehuber
2014-10-24Don't download index fileSlava Yurin
If all deps know where to download it, then don't download index file.
2014-09-12Merge branch 'wget_fallback' of git://github.com/crownedgrouse/erlang.mkLoïc Hoguin
2014-09-11 Silent the download command echocrownedgrouse
2014-09-11Add wget fallbackcrownedgrouse
2014-08-27Silence the dep fetching commandLoïc Hoguin
2014-08-27Add support for hg fetching methodAnton Yabchinskiy
2014-08-20Stop printing `-n` when running `make` on OSXDaniel Kempkens
2014-08-12Added missing ; in dep_targetPeer Stritzinger
The missing ; makes the DEPPKG= line run together with the VS= line which makes it similar to this FreeBSD 8.2 /bin/sh results: $ A=x B=$A; $ echo $A x $ echo $B $ The same with bash: $ A=x B=$A; $ echo $A x $ echo $B x
2014-08-15Silence erlc-include target when include/ is missingLoïc Hoguin
2014-08-15Merge branch 'recompile_erl_on_hrl_change' of ↵Loïc Hoguin
git://github.com/crownedgrouse/erlang.mk Extra changes include: * Not running the target if the ebin/ directory does not exist * Moved the target in the appropriate section in the file