aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
AgeCommit message (Collapse)Author
2016-10-29Revert change to erlang.mk fileLoïc Hoguin
My bad. Removing the .gitattributes file which lead me to make this error.
2016-10-28Make the relx tests work on FreeBSD/OSXLoïc Hoguin
2015-05-15Replace make with $(MAKE) for BSD compatibilityLoïc Hoguin
2015-03-27create bootstrap version of erlang.mk (ref #187)Andreas Stenius
By adding a forced req to a erlang.mk target, we make sure that make will always remake the erlang.mk file, and start over when we have the updated file in place. From [3.5 How Makefiles are remade](https://www.gnu.org/software/make/manual/html_node/Remaking-Makefiles.html#Remaking-Makefiles) After all makefiles have been checked, if any have actually been changed, make starts with a clean slate and reads all the makefiles over again.
2015-03-12Make eunit non-verbose by defaultLoïc Hoguin
There is no value in a verbose mode for eunit by default because eunit will print errors of failing tests regardless of what mode is used. Verbose mode only seem to output what modules are tested and what tests pass in those modules, in addition to errors. Disabling verbose will make errors much easier to notice.
2015-03-06Fix an error message when there is no test/ folderLoïc Hoguin
2015-03-06Don't run triq if the dep is missingLoïc Hoguin
2015-03-06Update relx to 1.2.0Loïc Hoguin
2015-01-12Merge branch 'doc-deps' of https://github.com/zuiderkwast/erlang.mkLoïc Hoguin
2015-01-12Merge branch 'prevent-elvis-clean' of https://github.com/danielwhite/erlang.mkLoïc Hoguin
2015-01-12Add "necessary evil" autopatch featureLoïc Hoguin
The point of this feature is to fix common issues users experience. This feature, when used, attempts to fix projects that are incompatible with erlang.mk. It currently is able to build a new Makefile based on information it finds in a rebar.config file (only deps for now) and also to fix the .app.src file in various ways.
2015-01-11Prevent 'make all' from removing elvisDaniel White
Given that 'make all' is the default build, it seems surprising to delete this without an explicit request for a 'distclean'.
2015-01-10Add triq pluginLoïc Hoguin
2015-01-10Merge branch 'fix_elvis' of https://github.com/srijan/erlang.mkLoïc Hoguin
2015-01-10Introduce test builds and unify testing tools interfaceLoïc Hoguin
The general idea is that erlang.mk now keeps track of what kind of build it generated. A test build is valid for all subsequent test target invocations. A normal build is only valid for itself and releases. This rework adds the ability to specify deps to eunit. The EUNIT_DIR variable is gone in favor of a more global TEST_DIR. The tests-ct target got renamed to ct and documented. Many more minor changes were done during the course of testing these changes.
2015-01-10Adds DOC_DEPS; fixes #75Viktor Söderqvist
2015-01-10Improve the target 'all'Loïc Hoguin
No more plugin stuff creeping into core.
2015-01-09Don't overwrite elvis config if elvis binary is missingSrijan Choudhary
2015-01-08Temporary fix: don't run rel if not needed with -jLoïc Hoguin
2015-01-08Make ct_run use -noinput instead of -noshellLoïc Hoguin
2015-01-08Speed up "erl" invocationsLoïc Hoguin
Use "+A0 -noinput -boot start_clean" as start argument. Use halt/{1,2} to shutdown the VM faster.
2015-01-07Fix parallel compilationLoïc Hoguin
Parallel compilation is now only enabled for "make" and "make deps app". To ensure order we spawn a new Make process for "deps", "app" and "rel" when the "all" target (or no target) is used.
2015-01-06Document parallel execution (-j flag)Loïc Hoguin
2015-01-06Merge branch 'deps_app_rel_order' of https://github.com/stolen/erlang.mkLoïc Hoguin
2015-01-04Merge branch 'update_relx_v1.1.0' of https://github.com/MarkNijhof/erlang.mkLoïc Hoguin
2015-01-04Merge branch 'subversion' of https://github.com/cjsv/erlang.mkLoïc Hoguin
2015-01-04Merge branch 'patch-2' of https://github.com/brigadier/erlang.mkLoïc Hoguin
2015-01-03Make it possible to create erlydtl beam files with full path in the nameEvgeny M
if DTL_FULL_PATH=1 /templates/a/b/c.dtl -> a_b_c_dtl.beam otherwise (as it was before) -> c_dtl.beam add return_errors flag to erlydtl:compile to return {error, Errors} instead of error; add {doc_root, "templates"} flag to allow extend and include templates from parent directories (by default erlydtl looks for parent template in the directory of the current template); make compilation stop if erlydtl:compile returns an error
2014-12-29Updated relx to version v1.1.0Mark Nijhof
2014-12-26add svn dependenciesChristopher Vance
2014-12-23Build deps, app, rel targets really in that orderDanil Zagoskin
2014-12-22Improve the gen_fsm templateLoïc Hoguin
* Rename and add the default state functions `state_name/2,3` * Rename the variable `State` into `StateData` as per documentation
2014-12-21Add EUnit pluginEnrique Fernandez
2014-12-17Use $(CURDIR) instead of ../$(PROJECT) for SHELL_PATHLoïc Hoguin
This fixes the issue where the project name and project directory differ, and allow us to support directory of the form name-version.
2014-11-25Remove +warn_export_all from the enabled warnings by defaultLoïc Hoguin
People who don't want export_all simply don't use it. The warning is annoying for those edge cases where it's actually useful, as it can't be disabled on a per-file basis.
2014-11-25Group clean-app commandsLoïc Hoguin
Smaller non-verbose output.
2014-11-25plugins/c_src.mk: update CFLAGS/CXXFLAGS/LDFLAGS for OS XKenji Rikitake
* Add the following flags to LDFLAGS needed at linkage for OS X, and remove the following flags from CFLAGS and CPPFLAGS: `-arch x86_64 -flat_namespace -undefined suppress`
2014-11-25plugins/c_src.mk: use non-regex file extention detectionKenji Rikitake
* The `-regex` option of `find` command to determine `SOURCES` in plugins/c_src.mk` is not portable; does not work on OS X. Rewrite with a portable form of using `find` native `-name` command option with `\(`, `-o`, and `\)`. * Support file extentions of `*.c`, `*.C`, `*.cc`, and `*.cpp`.
2014-11-24add escript pluginDave Cottlehuber
2014-11-22plugin/c_src: remove C_SRC_OPTSSlava Yurin
We can just LDFLAGS += and whatnot.
2014-11-20plugin/c_src: compile C++ sourceSlava Yurin
Add compile .cc,.cpp,.C files as C++. Compile each source file to .o. Link all .o object to .so. Delete .o on clean target.
2014-11-19Enabled the c_src plugin by defaultLoïc Hoguin
2014-11-19Don't try to compile mibs if the mibs/ directory is missingLoïc Hoguin
2014-11-19Merge branch 'compile-mibs' of git://github.com/danielwhite/erlang.mkLoïc Hoguin
Fixed a small whitespace issue in the silent output.
2014-11-18Merge branch 'erlc-excl' of git://github.com/efcasado/erlang.mkLoïc Hoguin
2014-11-18Add support for excluding erl filesEnrique Fernandez
2014-11-15Support for compiling SNMP MIBsDaniel White
This is unfortunately unsuited as a plugin due to its dependence on erlc for compilation. The MIBs must be compiled before an Erlang source.
2014-11-05Add an erlang-mk target for automated updating of erlang.mkLoïc Hoguin
2014-11-01Allow overriding the method and directories analyzed by DialyzerLoïc Hoguin
2014-11-01Compile Makefile-free dependencies with +debug_info onlyLoïc Hoguin
As much as I dislike this change, this should simplify the process of moving to erlang.mk.