aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-07-27Attempt using CircleCI with erlang.mkLoïc Hoguin
2015-07-21Tweaks to the ci plugin after trying CircleCILoïc Hoguin
For best results use 'make -k ci'. 'make ci-prepare' can be used to setup the OTP installations needed.
2015-07-21Don't use warning_as_errors for erlang.mk-style depsLoïc Hoguin
Fix a bug where deps that use erlang.mk didn't have the -Werror option suppressed automatically.
2015-07-06Add package syn to the indexLoïc Hoguin
2015-07-04Add $(verbose) to avoid completely silencing commandsLoïc Hoguin
2015-07-04Add package prop to the indexLoïc Hoguin
2015-07-04Add package gut to the indexLoïc Hoguin
2015-07-04Add package trails to the indexLoïc Hoguin
2015-07-04Allow changing template whitespaceLoïc Hoguin
By default templates use tabs. Unfortunately there are misguided heretics who prefer spaces. Bummer. Two variables are introduced: * SP=<number> can be set to use <number> spaces per indentation level. * WS=<string> can be set to use <string> for each indentation level. Most users will just want to use SP, for example: make new t=gen_server n=my_server SP=4 Note that people who want tabs don't have to do anything; tabs are still the default. WS is reserved for advanced users. Normal Make rules apply: all whitespaces are trimmed. To specify 4 spaces using WS, you can do the following: make new t=gen_server n=my_server WS='$(empty) $(empty)' Ugly, right? So just use SP. Finally, SP and WS can be put in your Makefile directly. In fact, erlang.mk will automatically add SP to a newly created project if it was used during creation. For example: make -f erlang.mk bootstrap SP=2 So in time we should only need to make a note in the docs at project creation time, as there is very little value after that point.
2015-07-03Add {ref, Commit} form for rebar3 depsLoïc Hoguin
Considering vmq_server is the first to use it, I suppose it's new. Oh well that's just yet another way to specify deps in rebar.config. :-)
2015-07-03Package barrel was renamed to barrel_tcp overnightLoïc Hoguin
2015-07-02Remove outdated code from cover.mkLoïc Hoguin
2015-07-02No need to use virtualenv to test RabbitMQ projects anymoreLoïc Hoguin
2015-07-02Reduce dependency on external programsLoïc Hoguin
This commit implements a core_find and core_ls function that can be used to list files recursively or not. A few other minute changes are included and a couple hacks removed.
2015-06-29Add .gitignoreLoïc Hoguin
2015-06-29Add hex support for autopatched applicationsLoïc Hoguin
I don't recommend relying on it in your applications just yet. It's not finalized yet. Let's wait and see what happens.
2015-06-28Add package hpack to the indexLoïc Hoguin
2015-06-28Bundle the package index directly inside erlang.mkLoïc Hoguin
If you were using the index file as a "lock file", bear with me for a moment, equivalent functionality will soon be added. :-)
2015-06-27Add registered field if missing from .app.srcLoïc Hoguin
2015-06-27Remove ebin/$(DEP).app when patching rebar outLoïc Hoguin
Seems like it works fine for all packages and fix issues with some that wouldn't compile properly otherwise.
2015-06-26Fix deps regexpSlava Yurin
$$$$ after replace by make is $$ and in bash it is pid of process.
2015-06-24Fix amqp_client: link to rabbit_commonLoïc Hoguin
2015-06-24Add package actordb_thrift to the indexLoïc Hoguin
2015-06-24Add package actordb_core to the indexLoïc Hoguin
2015-06-23Add package machi to the indexLoïc Hoguin
2015-06-23Add package cl to the indexLoïc Hoguin
2015-06-23Only apply RabbitMQ patches for rabbit projectsLoïc Hoguin
2015-06-21Fix autopatch issues introduced in recent mergesLoïc Hoguin
The good news is that these changes work with FreeBSD, as opposed to before the merges.
2015-06-20Fix 'make' and 'gmake' calls in rebar hooksLoïc Hoguin
$(MAKE) works everywhere, including space.
2015-06-20Fix a hardcoded 'make' callLoïc Hoguin
$(MAKE) works everywhere, including FreeBSD.
2015-06-20Fix amqp_client/rabbit tests for FreeBSDLoïc Hoguin
2015-06-20Add package detest to the indexLoïc Hoguin
2015-06-20Add package ejwt to the indexLoïc Hoguin
2015-06-19Merge branch 'mkdir-ERLANG_MK_TMP' of https://github.com/rabbitmq/erlang.mkLoïc Hoguin
2015-06-19Merge branch 'fix-shell-test-warning-in-dep_autopatch' of ↵Loïc Hoguin
https://github.com/rabbitmq/erlang.mk
2015-06-19core/deps.mk: Ensure $(ERLANG_MK_TMP) is createdJean-Sébastien Pédron
... before writing to it. This fixes the following error which is logged with a fresh checkout: /bin/sh: cannot create (...)/.erlang.mk/deps.log: No such file or directory
2015-06-19Copyright changeBrujo Benavides
2015-06-19elvis updatedBrujo Benavides
2015-06-19dep_autopatch: Ensure ['s `!=` operator has operandsJean-Sébastien Pédron
Consider the following test: elif [ 0 != `find ... | xargs grep -ci rebar` ]; then find(1) may return no file at all and xargs has nothing on its stdin. In this case, GNU xargs (from findutils) still executes the given command and grep(1) returns 0. However, FreeBSD's xargs for instance does not run the command at all if there is nothing on stdin. Therefore nothing is printed on stdout and the test becomes: elif [ 0 != ]; then This triggers a warning from the shell: [: !=: argument expected Prepending both operands with a literal 'x' fixes the problem. For consistency's sake, I modified the two other tests as well, though I didn't have any problem with them.
2015-06-18Use the real path instead of symbolic links to erlang.mkLoïc Hoguin
This will fix some issues where a symbolic link can link to another symbolic link (Cowboy examples), and issues where symbolic links can't be used (VirtualBox shared folders).
2015-06-18Add package rabbit to the indexLoïc Hoguin
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-17Remove unneeded variables from cover.mkLoïc Hoguin
2015-06-17Add package amqp_client to the indexLoï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-15Add package cloudi_service_oauth1 to the indexLoïc Hoguin