aboutsummaryrefslogtreecommitdiffstats
path: root/core
AgeCommit message (Collapse)Author
2015-05-15Add support for rebar.config.scriptLoïc Hoguin
2015-05-15Change the alternative rebar detection to avoid messagesLoïc Hoguin
The use of 'make -n' introduced some unwanted messages. This new solution doesn't have this problem.
2015-05-15Add another test for rebar detectionLoïc Hoguin
If we can't find "rebar" in the Makefile, we now try 'make -n' and check the output. This will catch cases where the "rebar" stuff is defined in included files.
2015-05-15Replace make with $(MAKE) for BSD compatibilityLoïc Hoguin
2015-05-14Add ASN.1 compilation supportLoïc Hoguin
2015-05-14Add package json to the indexLoïc Hoguin
This commit also fixes dependencies which have no Makefile and are not Erlang projects. The detection of Erlang project is a little naive at the moment but works. We can refine it later on if needed.
2015-05-14Make sure auto patched dependencies recompile fineLoïc Hoguin
2015-05-14Get rid of the autopatch hack for properLoïc Hoguin
2015-05-14Initial autopatch of port env and hooksLoïc Hoguin
2015-05-13Add a hack to make proper work againLoïc Hoguin
It was between this and adding it to NO_AUTOPATCH. This has the advantage of not requiring rebar.
2015-05-13Improve rebar detection for autopatchLoïc Hoguin
2015-05-13Don't build a release if dependencyLoïc Hoguin
Adds neo4j and shotgun back to the package index.
2015-05-12More build improvementsLoïc Hoguin
* Generate configure if there is only configure.ac * Don't touch the .app/.app.src if neither exists
2015-05-12More improvements for building dependenciesLoïc Hoguin
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.