aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)Author
2015-09-01Update elvis to 0.2.5Juan Facorro
2015-08-27Remove a temporary fileLoïc Hoguin
2015-08-26Fix auto disabling of triq when not in depsLoïc Hoguin
We check the $(DEPS) and $(TEST_DEPS) variables now, instead of the directory directly, because triq won't be there yet on first build.
2015-08-26Improve the erlydtl pluginLoïc Hoguin
Among the improvements: * Work with current versions of ErlyDTL * Add DTL_PATH, defaulting to templates/ * Add DTL_SUFFIX, defaulting to _dtl (suffix of output module names) * Simplify the Erlang code and port to the erlang function The erlang function can now accept any command-line argument for erl as optional second argument.
2015-07-21Tweaks to the ci plugin after trying CircleCILoïc Hoguin
For best results use 'make -k ci'. 'make ci-prepare' can be used to setup the OTP installations needed.
2015-07-04Add $(verbose) to avoid completely silencing commandsLoïc Hoguin
2015-07-04Allow changing template whitespaceLoïc Hoguin
By default templates use tabs. Unfortunately there are misguided heretics who prefer spaces. Bummer. Two variables are introduced: * SP=<number> can be set to use <number> spaces per indentation level. * WS=<string> can be set to use <string> for each indentation level. Most users will just want to use SP, for example: make new t=gen_server n=my_server SP=4 Note that people who want tabs don't have to do anything; tabs are still the default. WS is reserved for advanced users. Normal Make rules apply: all whitespaces are trimmed. To specify 4 spaces using WS, you can do the following: make new t=gen_server n=my_server WS='$(empty) $(empty)' Ugly, right? So just use SP. Finally, SP and WS can be put in your Makefile directly. In fact, erlang.mk will automatically add SP to a newly created project if it was used during creation. For example: make -f erlang.mk bootstrap SP=2 So in time we should only need to make a note in the docs at project creation time, as there is very little value after that point.
2015-07-02Remove outdated code from cover.mkLoïc Hoguin
2015-07-02Reduce dependency on external programsLoïc Hoguin
This commit implements a core_find and core_ls function that can be used to list files recursively or not. A few other minute changes are included and a couple hacks removed.
2015-06-19Copyright changeBrujo Benavides
2015-06-19elvis updatedBrujo Benavides
2015-06-17Remove unneeded variables from cover.mkLoïc Hoguin
2015-06-14Generate the .app file directly from the MakefileLoïc Hoguin
This removes the need for a .app.src file entirely. The PROJECT_* variables and the OTP_DEPS variable allow us to specify everything we need. REL_DEPS and BUILD_DEPS will be added later on to allow users to cleanly specify those without adding them to the .app file.
2015-06-10xrefr upgradeBrujo Benavides
2015-05-22Handle executable portsLoïc Hoguin
Previously we only did shared libraries, now we allow executables. Also improve greatly the handling of autopatched rebar projects by relying once again on the rebar_utils module.
2015-05-20Use core platform detection in c_srcLoïc Hoguin
2015-05-16Only use +debug_info to compile protobuffs generated modulesLoïc Hoguin
2015-05-16Add protobuffs plugin to compile *.proto filesLoïc Hoguin
2015-05-15Replace make with $(MAKE) for BSD compatibilityLoïc Hoguin
2015-05-14Merge branch 'jj1bdx-c_src-appbuild' of https://github.com/jj1bdx/erlang.mkLoïc Hoguin
2015-05-14Make sure auto patched dependencies recompile fineLoïc Hoguin
2015-05-14Build NIF C code also on testsKenji Rikitake
* This patch ensures building the NIF code under`c_src` even on running `make tests` * When `c_src/Makefile` exists: * Split the Makefile invocation dependency into `app-c_src` * Invoke `app-c_src` also in `test-build` as well as `app` * When `c_src/Makefile` does not exist: * Add `$(C_SRC_ENV) $(C_SRC_OUTPUT)` dependencies to `test-build`
2015-05-13Don't build a release if dependencyLoïc Hoguin
Adds neo4j and shotgun back to the package index.
2015-05-12More improvements for building dependenciesLoïc Hoguin
2015-05-11Fix cover tests and use Erlang snippetLoïc Hoguin
2015-05-10Use an Erlang snippet for TriqLoïc Hoguin
2015-05-10Indent the Erlang snippetLoïc Hoguin
2015-05-09Document the run target in 'make help'Loïc Hoguin
2015-05-09Add a 'run' command to run the relx releaseLoïc Hoguin
Should only be used during development. Stolen idea from Tristan Sloughter who stole it from Ahmad Sherif. This commit also introduces the 'erlang' function for executing Erlang code written directly in the Makefile. The rest of the project will eventually move to using it as it's much cleaner than the previous solution.
2015-05-09Merge branch 'improved_bootstrap' of https://github.com/andrzejsliwa/erlang.mkLoïc Hoguin
Changed the method to echo multiline variables into something that should work for everyone.
2015-05-09Merge branch 'cover' of https://github.com/zuiderkwast/erlang.mkLoïc Hoguin
Rebased and moved ct.cover.spec into the test/ directory.
2015-05-09Update relx to 2.0.0Loïc Hoguin
2015-05-08Fix make help formattingLoïc Hoguin
2015-05-08Add ci pluginLoïc Hoguin
The ci plugin allows testing your Erlang project across any number of Erlang versions.
2015-05-08Fully specify the ct pathsLoïc Hoguin
Avoids some annoying warnings when Common Test runs. I believe this is a regression.
2015-05-07Add a check targetLoïc Hoguin
Compiles, runs tests and runs all sorts of analysis like Dialyzer.
2015-05-07Add Asciidoc documentation supportLoïc Hoguin
2015-05-07Merge branch 'xref_plugin' of https://github.com/inaka/erlang.mkLoïc Hoguin
2015-04-23Update relx to 1.3.1Loïc Hoguin
2015-03-18add as a pluginEuen
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-27Add a target to merge coverdata files and rename COVER_DIR to COVER_REPORT_DIRViktor Söderqvist
2015-01-24Combined coverage report for eunit and ctViktor Söderqvist
2015-01-12Update copyright yearLoïc Hoguin
Also added a copyright line in the eunit plugin due to the extensive work I have done there a few days ago.
2015-01-12Merge branch 'doc-deps' of https://github.com/zuiderkwast/erlang.mkLoïc Hoguin
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