aboutsummaryrefslogtreecommitdiffstats
path: root/core
AgeCommit message (Collapse)Author
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-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.
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