aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-12-29Generate proper filenames in the docs' HTML outputLoïc Hoguin
This will allow to provide permanent URLs to the documentation.
2015-12-29Add Common Test docs and testsLoïc Hoguin
Also fixes issues with multi application repositories, and add support for running a specific group/case in a given test suite.
2015-12-24Use OTP 18.2.1 on CircleCILoïc Hoguin
2015-12-24Simplify cleaning in the test suiteLoïc Hoguin
Not only simpler but also faster, especially on Windows.
2015-12-24Work around an auto completion bug with ZSHLoïc Hoguin
At the same time update the Makefile templates which were missing PROJECT_DESCRIPTION and PROJECT_VERSION fields.
2015-12-24Add EUNIT_ERL_OPTS variableLoïc Hoguin
2015-12-24Remove EUnit section from READMELoïc Hoguin
2015-12-24Add EUnit tests and documentationLoïc Hoguin
Also includes a fix for multi-application repositories.
2015-12-24Fix an issue running EUnit tests on 'make check'Loïc Hoguin
Rebuilding cleanly first prevented rebuilding in test-mode again.
2015-12-18Tweak public CI configurationLoïc Hoguin
2015-12-18Exclude rabbitmq_codegen from the package checkLoïc Hoguin
This isn't an Erlang application.
2015-12-17Remove the patch for i18n in the test suiteLoïc Hoguin
After careful checking, these values are not set because of an issue in Erlang.mk's autopatch feature. There's no point in cheating in the test suite. We need to know about it.
2015-12-17Set version for xref_runnerJuan Facorro
2015-12-17Merge branch 'mimerl' of https://github.com/benoitc/erlang.mkLoïc Hoguin
2015-12-17Add package i18n to the indexLoïc Hoguin
2015-12-17More improvements to file dependency detectionLoïc Hoguin
This makes i18n work. It worked before, but I didn't know, and broke it. Next commit will add i18n to the index to ensure this doesn't happen again.
2015-12-17add mimerl to the indexbenoitc
2015-12-16Improve file dependency detectionLoïc Hoguin
One case was added, where a -compile attribute specified a list that included a parse_transform. This affected alog, for example. The COMPILE_FIRST variable is now filled from a digraph. This allows us to keep track of the dependency tree properly, rather than rely on luck. This affected erlando. With both of these changes in, a large chunk of the rebar autopatch code can be removed, the part that concerned the auto detection of file dependencies. On the other hand, we still need to honor the erl_first_files configuration value, otherwise the parse_trans project fails to build. While it would be possible to detect these dependencies automatically too, it's probably too complex to bother, at least for now.
2015-12-15Detect Erlang.mk before RebarLoïc Hoguin
This allows us to avoid autopatching when the Makefile of an Erlang.mk project contains the word "rebar". Had to update elvis and xref_runner to master for now because of incompatibilities. The problem went unnoticed for a while because they were autopatched.
2015-12-15Prevent Dialyzer from running concurrently in test suiteLoïc Hoguin
We use the GNU Parallel program to create a mutex around the Dialyzer calls.
2015-12-15Make some rm -rf commands saferLoïc Hoguin
This way if for some unknown reason $(APP_TO_CLEAN) isn't defined, we don't delete the entire world.
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.