aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
AgeCommit message (Collapse)Author
2015-05-18Proper fix for NIF code detection when port_specs is usedLoïc Hoguin
Adds rafter back to the index.
2015-05-18Fix jiffy buildLoïc Hoguin
Breaks rafter build. Remove it temporarily.
2015-05-18Add platform_define support for erl_optsLoïc Hoguin
Fixes jsx maps support.
2015-05-18Fix issue with first files detectionLoïc Hoguin
2015-05-17Improve detection of compile first files for rebar appsLoïc Hoguin
File includes header that defines parse_transform that imports function. Sigh.
2015-05-17Ignore some common unneeded deps when patching rebar appsLoïc Hoguin
Things like edown or meck are quite common and only used for building doc comments or testing. Proper is unfortunately required at this point.
2015-05-17Fix port_specs with multiple input filesLoïc Hoguin
2015-05-17Find first files from source formsLoïc Hoguin
Some projects use parse transforms but do not put them in erl_first_files. We need to parse the files directly and find the compile directives ourselves.
2015-05-17Handle port_specs with 2 valuesLoïc Hoguin
For exml from mongooseim.
2015-05-16Preliminary port_specs supportLoïc Hoguin
Fixes some projects that were building but couldn't be loaded because the .so file name was incorrect.
2015-05-16Add IGNORE_DEPS variableLoïc Hoguin
This variable is very useful to avoid downloading dependencies that are not needed for normal use, for example proper, meck or rebar plugins.
2015-05-16Initial rebar2 plugins supportLoïc Hoguin
We do nothing more than what is necessary to make riak_pb work. It's possible other plugins will not work, however this is the only plugin that I have seen to be required so far, and hook plugins seem to have been removed from rebar3, so it should be fine.
2015-05-16Ignore Makefiles that include non-existing .mk filesLoïc Hoguin
2015-05-16Handle parse_transforms and defines for rebar autopatchLoïc Hoguin
2015-05-16Don't be strict for CFLAGS of autopatched depsLoïc Hoguin
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 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-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-09Silence fetching of dependenciesLoï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-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.
2014-12-26add svn dependenciesChristopher Vance
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-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-08-27Silence the dep fetching commandLoïc Hoguin
2014-08-27Add support for hg fetching methodAnton Yabchinskiy
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-13Add error message before failing due to invalid dependencyDerek Brown
If a dependency specified in DEPS is unknown or invalid (its VS is not "git"), erlang.mk will fail. Now, add a human-readable error message to help the user understand what the problem is.