aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
AgeCommit message (Collapse)Author
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-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.
2014-11-01Don't distclean PKG_FILE2 if it's customLoïc Hoguin
2014-11-01Alphabetical order build.configLoïc Hoguin
2014-11-01Merge branch 'jfacorro.elvis.96.plugin' of git://github.com/inaka/erlang.mkLoïc Hoguin
2014-10-31[inaka/elvis#96] Elvis plugin.Juan Facorro
2014-10-30erlc: update {id, git} in .app.src with git describe outputDave Cottlehuber
2014-10-29Merge branch 'index_file' of git://github.com/nevar/erlang.mkLoïc Hoguin
2014-10-24Don't download index fileSlava Yurin
If all deps know where to download it, then don't download index file.
2014-10-15Add -I include/ to build-ct-suites targetAlexander Færøy
2014-09-24Fix for the cowboy_rest templateEric Sagnes
2014-09-12Merge branch 'wget_fallback' of git://github.com/crownedgrouse/erlang.mkLoïc Hoguin
2014-09-11 Silent the download command echocrownedgrouse
2014-09-11Add wget fallbackcrownedgrouse
2014-09-11Merge branch 'master' of git://github.com/Version2beta/erlang.mkLoïc Hoguin