aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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-09Add info about -O in the READMELoïc Hoguin
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 'tests' of https://github.com/zuiderkwast/erlang.mkLoïc Hoguin
2015-01-04Merge branch 'patch-2' of https://github.com/brigadier/erlang.mkLoïc Hoguin
2015-01-04Fix shotgun versionLoï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-23Tests for erlank.mk targets 'app', 'tests-ct' and 'eunit'Viktor Söderqvist
Makefile-based tests in the test/ directory and 'make check' as an alias for (cd test; make).
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-22Merge branch 'gen_fsm-template' of https://github.com/grahamrhay/erlang.mkLoïc Hoguin
2014-12-21Merge branch 'eunit' of https://github.com/efcasado/erlang.mkLoïc Hoguin
2014-12-21Add EUnit pluginEnrique Fernandez
2014-12-20Added a gen_fsm templateGraham Hay
2014-12-20Add a "Why erlang.mk?" sectionLoïc Hoguin
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-12-13Merge branch 'feeder' of git://github.com/michaelnisi/erlang.mkLoïc Hoguin
2014-12-12Add package feeder to the indexMichael Nisi
2014-11-28Add package live to the indexLoïc Hoguin
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-25Merge branch 'jj1bdx-c_src-find-fix' of git://github.com/jj1bdx/erlang.mkLoïc Hoguin
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-24Merge branch 'add-escript' of git://github.com/dch/erlang.mkLoïc Hoguin
2014-11-24add escript pluginDave Cottlehuber
2014-11-24Add missing variable to the READMELoïc Hoguin
2014-11-24Update README for C/C++ compilerLoïc Hoguin
2014-11-24Merge branch 'C++_source' of git://github.com/nevar/erlang.mkLoïc Hoguin
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-19Merge branch 'master' of git://github.com/shizzard/erlang.mkLoïc Hoguin
2014-11-19Enabled the c_src plugin by defaultLoïc Hoguin
2014-11-19Merge branch 'c_src_hanling' of git://github.com/nevar/erlang.mkLoïc Hoguin