aboutsummaryrefslogtreecommitdiffstats
path: root/core
AgeCommit message (Collapse)Author
2015-06-18Add RABBITMQ_SERVER_PATCH for rabbitmq-server supportLoïc Hoguin
2015-06-18Improve the RabbitMQ client patchLoïc Hoguin
Users need to deploy both client and server to production, therefore the server needs to be fetched and its folder named correctly.
2015-06-17Avoid unneeded output when checking if dep was compiledLoïc Hoguin
2015-06-17Add RABBITMQ_CLIENT_PATCH to make upstream amqp_client workLoïc Hoguin
While this is not quite "just work" due to other packages depending on a forked off rabbitmq, this is still pretty good as it actually makes it work and still leaves a choice between upstream and the fork. Hopefully people will start to use upstream but you know how these things tend to go.
2015-06-16Convert git://github.com URIs to https://github.comLoïc Hoguin
We do this automatically to make the fetching of dependencies a safer experience. Ensuring it's secure is better than hoping everyone puts the right URI in their deps.
2015-06-16Compile dependencies only onceLoïc Hoguin
We keep track of which dependencies we compiled in the current session in the $(ERLANG_MK_TMP)/deps.log file. This will help save a little time when projects depend more than once on the same dependency. While going in the directory and running make was already quick, it's quicker if not, and the logs end up cleaner.
2015-06-15Fix details in .app templateLoïc Hoguin
Was using $(MODULES) instead of $(2).
2015-06-15Add corresponding space in the replace regexLoïc Hoguin
Fixes a previous incomplete PR merged by mistake.
2015-06-14Generate the .app file directly from the MakefileLoïc Hoguin
This removes the need for a .app.src file entirely. The PROJECT_* variables and the OTP_DEPS variable allow us to specify everything we need. REL_DEPS and BUILD_DEPS will be added later on to allow users to cleanly specify those without adding them to the .app file.
2015-06-13Merge branch 'fix-modules-attr-app-src' of https://github.com/efcasado/erlang.mkLoïc Hoguin
2015-06-07Fix NIF compilation under OSXLoïc Hoguin
2015-06-07Handle erl_first_files with missing extensionLoïc Hoguin
Makes lasp and nkbase work.
2015-06-06Improve parse_transform and import detectionLoïc Hoguin
Necessary changes for the alog application.
2015-06-06Export ERLC_OPTS in rebar patched depsLoïc Hoguin
Otherwise some deps didn't have their warnings_as_errors removed.
2015-06-05Define CC when calling hooksLoïc Hoguin
Necessary to make erlsha2 work properly.
2015-06-05Better compatibility with autoconf projectsLoïc Hoguin
2015-06-04No need for $(ERLANG_MK_TMP)/ebin anymoreLoïc Hoguin
2015-06-04Fetch the whole of rebar when patching rebar depsLoïc Hoguin
Necessary for increased compatibility as we de-rebarize those dependencies.
2015-06-01More autopatch fixesLoïc Hoguin
Some projects had their modules section filled incorrectly, this has been fixed. Merl (used by erlydtl) had its .app file incorrectly moved to .app.src despite having its own Makefile. This has been fixed. A new g++ warning caused some projects with -Werror to fail to compile, this has been fixed. The include path given in rebar.config is now properly used. The project concuerror has been removed temporarily due to a recent change that broke the auto detection. The projects ircbot, exmpp and tsung have been removed temporarily due to broken modules section and will need a custom patch and/or a PR sent to fix them.
2015-05-31Allow whitespace characters in the modules attributeEnrique Fernandez
2015-05-23Handle rebar3-style depsLoïc Hoguin
2015-05-23Set and export ERLANG_ARCH for the whole rebar depLoïc Hoguin
2015-05-23Don't patch plugin at all if not requiredLoïc Hoguin
Remove riak_test from the index as it broke and the problem is larger than it looks.
2015-05-23Patch all rebar hook commands, not just the regex onesLoïc Hoguin
2015-05-23Fix numerous issues with rebar autopatchingLoïc Hoguin
Packages color, enet, hamcrest and i18n were temporarily removed pending fixes. All other packages build and load properly.
2015-05-23Always ignore the modules list in original .app/.app.src fileLoïc Hoguin
Some packages have invalid lists.
2015-05-22Handle executable portsLoïc Hoguin
Previously we only did shared libraries, now we allow executables. Also improve greatly the handling of autopatched rebar projects by relying once again on the rebar_utils module.
2015-05-19Import rebar_utils for improved compatibilityLoïc Hoguin
This allows us to skip some of the worst hacks and improve compatibility since we are using the original code.
2015-05-19Add node_package to rebar autopatch ignoreLoïc Hoguin
For basho_bench, forgot to commit before.
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 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.