aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-12-15Fix parallel issues caused by ErlyDTLLoïc Hoguin
Issues were introduced by f58af72831338efba4d5e20898cf92c0ed9f1c0f. In addition some rework has been done: * We don't care about src/, only about templates/ * Fix a misplaced closing paren (why was it working before?) * Move most of the rules and defines inside the ifdef
2015-12-14Add restc back to the indexLoïc Hoguin
2015-12-14Fix compilation of NIFs on WindowsLoïc Hoguin
Thanks to two users of the ninenines/esdl2 project, a correct way to build NIFs on Windows has been found. At the moment we require a specific compiler (MingW's gcc). Maybe we can change this in the future and allow Visual Studio and others. Some small changes have been made to the documentation, and the meaning of one configuration variable has changed to not include the extension (which is decided automatically by Erlang.mk; and configurable separately). Enjoy!
2015-12-14Fix for bcrypt compilation on OSX El CapitanBrujo Benavides
2015-12-14Disable parallel building on AppVeyorLoïc Hoguin
Because running Dialyzer in parallel makes everything fail.
2015-12-14Disable parallel testing on CircleCILoïc Hoguin
Now that we have Dialyzer tests, we run out of memory if we run too many at the same time.
2015-12-09autopatch: do not run autoreconf if configure script already existsJean Parpaillon
2015-12-06Add package gen_coap to the indexPetr Gotthard
2015-12-05Temporarily remove restc and oauth2cLoïc Hoguin
The restc project has dependencies that require to be logged in to fetch them, and this breaks the packages test suite. The oauth2c project depends on restc. I sent a pull request at https://github.com/kivra/restclient/pull/8 The packages can be added back just fine after this pull request get merged. In the future it might be worth having a value marking packages as broken so they are skipped by the test suite.
2015-12-05Remove dhtcrawler from the package indexLoïc Hoguin
The URIs don't work for non-logged in users. Choosing to remove for now because the project also changed (there's a dhtcrawler2) so it might be worth adding this one instead (although it probably won't be compatible with Erlang.mk right now and seems to be more of a standalone repository).
2015-12-04Autopatch: handle $(PROJECT).app.src.script filesLoïc Hoguin
This fixes issues when including ErlyDTL in a release.
2015-12-04Create the ebin/ directory before compiling ErlyDTL templatesLoïc Hoguin
2015-12-04Refresh the README fileLoïc Hoguin
2015-12-04Fix formatting one last timeLoïc Hoguin
2015-12-04Fix formatting againLoïc Hoguin
2015-12-04Fix some formatting issues in the guideLoïc Hoguin
2015-12-04Fix typoLoïc Hoguin
lol
2015-12-04Delete file of removed architecture chapterLoïc Hoguin
2015-12-04Add contributing and history chapters to the guideLoïc Hoguin
2015-12-01Test and document DialyzerLoïc Hoguin
One bug was fixed: now Erlang.mk will properly pass relevant ERLC_OPTS values to Dialyzer. One bug still exists when using multi-application repositories: dependencies are not detected automatically. We need list-deps before this can work.
2015-11-22Fix documentation typoDaniel S. McCain
2015-11-22Add package nksip to the indexLoïc Hoguin
2015-11-22Remove itweet project for nowLoïc Hoguin
Broken upstream (a dependency doesn't exist) and still waiting for a fix after more than a month.
2015-11-22Remove ptrackerl project; removed upstreamLoïc Hoguin
2015-11-22Remove the Rabbit patches from the test suiteLoïc Hoguin
They're not needed on master anymore.
2015-11-21Merge branch 'late-autopatch' of https://github.com/rabbitmq/erlang.mkLoïc Hoguin
2015-11-21deps.mk: In dep_target, call dep_autopatch during the second evalJean-Sébastien Pédron
... not the first. dep_autopatch can be an expensive macro, in particular because it executes Erlang. So if NO_AUTOPATCH is set, it's best to avoid calling dep_autopatch as the result will be unused anyway. While here, add a test for autopatched rebar-based dependencies.
2015-11-20Merge branch 'set-x-on-verbose-2' of https://github.com/rabbitmq/erlang.mkLoïc Hoguin
2015-11-20Add tests and document the SP variableLoïc Hoguin
People who prefer spaces instead of tabs are now covered.
2015-11-19Merge branch 'do-not-export-templates' of https://github.com/rabbitmq/erlang.mkLoïc Hoguin
2015-11-19Do not export templates as environment variablesJean-Sébastien Pédron
We can write the file using the Makefile variables without going through environment variables.
2015-11-18Fix target dependencies and enable parallel again2.0.0-pre.2Loïc Hoguin
We can now use 'make -j 32' again. All tests pass. There might be some issues left with the areas that are not fully tested yet (some plugins). A few changes in behavior: * 'make app' will also do 'make deps' unless SKIP_DEPS is set. You can use 'make app-build' instead to just build the application. * 'make rel' will also do 'make app' (and therefore deps). There are no alternative target to keep the old behavior at this time.
2015-11-17Merge branch 'copy-build.config-after-checking-out-commit' of ↵Loïc Hoguin
https://github.com/rabbitmq/erlang.mk
2015-11-17make erlang-mk: Copy build.config after switching to $(ERLANG_MK_COMMIT)Jean-Sébastien Pédron
If the local build.config has changes compared to upstream's master branch, and $(ERLANG_MK_COMMIT) also brings changes to this file, copying the local file to the checkout before switching to $(ERLANG_MK_COMMIT) caused git-checkout(1) to abort with: error: Your local changes to the following files would be overwritten by checkout: build.config Please, commit your changes or stash them before you can switch branches. Aborting While here, fix `core-upgrade-custom-repo` test case: without switching back the alternate erlang.mk repository to its master branch, the clone always got the test-copyright branch by default, making the ERLANG_MK_COMMIT check ineffective.
2015-11-17Merge branch 'configurable-noop' of https://github.com/rabbitmq/erlang.mkLoïc Hoguin
2015-11-17Remove unneeded comment from docsLoïc Hoguin
2015-11-17Use `:` as a noop instead of `echo -n`Jean-Sébastien Pédron
The `-n` flag is not standard and not portable. It is supported by many Bourne shell to suppress the trailing newline character. But some old shells do not support this and "-n" is printed. This is the case for instance on some old versions of Mac OS X where `/bin/sh` is Bash 3.2.
2015-11-17V=2 causes `set -x` to be set on forked shellsJean-Sébastien Pédron
2015-11-13Bullet repository has movedLoïc Hoguin
2015-10-27Fix small issue with c-src testsLoïc Hoguin
Main test Makefile expects "c_src" but for convenience I also allow "c-src" and use that one as the prefix for the tests.
2015-10-26Add new-nif target and related testsLoïc Hoguin
Pushing this now so I can figure out Windows.
2015-10-22Add shell chapter and testsLoïc Hoguin
2015-10-22Add the releases chapter contentsLoïc Hoguin
2015-10-22Add NIF chapter to the guideLoïc Hoguin
Not tested yet, figured it could still help people.
2015-10-22Return argument as a last resort in $(dep_name)Jean-Sébastien Pédron
Therefore, if neither $(dep_something) nor $(pkg_something_name) is defined, $(dep_name) will return the name specified in the various dependencies lists. This fixes `core-app-pt-erlc-opts` and `core-deps-fetch-fail-unknown` because now, the dependency is not "forgotten" anymore. Before, the dependency directory was missing from $(ALL_DEPS_DIRS) because $(dep_name) returned nothing.
2015-10-22Add git-submodule fetch methodLoïc Hoguin
Initially submitted by Daniel White.
2015-10-22Merge branch 'fix-test-core-plugins-one' of ↵Loïc Hoguin
https://github.com/rabbitmq/erlang.mk
2015-10-22Use relative path to erlang.mk file in autopatched depsLoïc Hoguin
2015-10-22Replace "if $(MAKE) then false" by "! $(MAKE)"Jean-Sébastien Pédron
2015-10-22Do not try to execute an empty shell script in core-plugins-one testJean-Sébastien Pédron
The previous code did: if `<code that prints nothing on stdout>`; then ... So the test failed but not for the good reason. The forked shell printed: /bin/sh: gmake[2]:: not found Now, both "Run 'make ...'" tests are simplified and do not rely on backticks and test(1) anymore. Either the output is inspected or the exit code is checked.