summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #98 from jcomellas/jc-no-erl-libs-repetitionJared Morrow2014-03-051-1/+11
|\ \ \ | |/ / |/| | Repetition of environment variable definitions in child processes (ports)
| * | Avoid passing more than one instance of ERL_LIBS to child processesJuan Jose Comellas2013-06-131-1/+11
| | | | | | | | | | | | | | | | | | This commit fixes issue #98 by removing the ERL_LIBS and REBAR_DEPS_DIR from the list of environment variables exported by the rebar_port_compiler plugin.
* | | Merge pull request #175 from tuncer/cwd-plugins-regressionJared Morrow2014-03-051-2/+7
|\ \ \ | | | | | | | | CWD plugins regression
| * | | Fix regression caused by 252b31f (#90)Tuncer Ayaz2014-01-011-1/+6
| | | |
| * | | rebar_core: minor comment fixTuncer Ayaz2014-01-011-1/+1
| | | |
* | | | erlc: clean-up, enhance, and regression fix fd17693Tuncer Ayaz2014-03-054-72/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update files * fix Dialyzer warning * unconditionally enable info fil * clean-up inconsistencies * use term_to_binary compression * use try...catch instead of case...catch...of * do not write build info file if the graph is unmodified * store info file as <base_dir>/.rebarinfo * properly support list of compile directives * fix regressions: - Fix a bug in handling of files to compile first. - If a file that is depended upon itself depends on other files, make sure those are compiled first. While at it, rename variables for correctness. Reported-by: David Robakowski - Make sure that FirstFiles has no dupes and preserves the proper order. - headers referenced via -include_lib() were not properly resolved to absolute filenames - .erl files found in sub dirs of src_dirs were not properly resolved to absolute filenames
* | | | erlc: add support for detecting core transformsAnthony Ramine2014-03-051-0/+2
| | | |
* | | | Speed up the compilation processEvgeniy Khramtsov2014-03-051-108/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Do not parse source files twice while checking for relationship. * Keep files relationships in a graph. * The option 'keep_build_info' is introduced. When set to 'true' the graph will be kept in ebin/.rebar.build.info and will be used by further compiler calls. The default is 'false'.
* | | | docs: fix #228Tuncer Ayaz2014-02-251-5/+6
| | | |
* | | | Merge pull request #230 from tuncer/fix-dialyzer-warningsJared Morrow2014-02-251-1/+1
|\ \ \ \ | | | | | | | | | | eunit: fix dialyzer warnings introduced in 03da5e0b
| * | | | eunit: fix dialyzer warnings introduced in 03da5e0bTuncer Ayaz2014-02-201-1/+1
| | | | |
* | | | | Mention rebar -c/--commandsTuncer Ayaz2014-02-241-0/+2
| | | | |
* | | | | Document support for abbreviated commandsTuncer Ayaz2014-02-241-0/+10
| | | | |
* | | | | {ok, Module} is an acceptable return value from do_compile.David N. Welton2014-02-141-0/+2
| | | | |
* | | | | Use proplists:unfold to make sure we feed a proplist to keymerge.David N. Welton2014-02-141-8/+9
| | | | |
* | | | | Adapt erlydtl compiler plugin to latest version of erlydtlAndreas Stenius2014-02-141-3/+11
|/ / / /
* | | | Add documentationAndrew Thompson2014-02-072-0/+5
| | | |
* | | | Add random_suite_order option to eunit commandAndrew Thompson2014-02-071-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Option takes either 'true' or a numeric seed value. If true is passed, a random seed is generated and used. The numeric seed value is for repeatability. The idea here is to root out test suites that are order dependant, or that fail in the presence of certain orderings.
* | | | Merge pull request #224 from andrewjstone/allow-testJared Morrow2014-02-073-36/+60
|\ \ \ \ | | | | | | | | | | allow suite[s] or test[s] as options for eunit and ct
| * | | | allow suite[s] or test[s] as options for eunit and ctAndrew J. Stone2014-02-053-36/+60
| | | | |
* | | | | Merge pull request #188 from massemanet/xref_extra_pathAndrew Thompson2014-02-061-0/+3
|\ \ \ \ \ | |/ / / / |/| | | | Xref extra path
| * | | | introduce xref_extra_pathsmats cronqvist2014-01-131-0/+3
| |/ / /
* | | | Merge pull request #212 from tuncer/hrl-errorJared Morrow2014-01-161-19/+25
|\ \ \ \ | | | | | | | | | | Fix basho/rebar#388
| * | | | rebar_base_compiler: replace fixed size list with a tupleTuncer Ayaz2014-01-151-4/+3
| | | | |
| * | | | Fix basho/rebar#388Tuncer Ayaz2014-01-151-16/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the syntax error is in a .hrl file, then the reported error message is not as useful because it's not clear which .erl file was being compiled. We can fix that easily by first printing what source file was being processed. We don't change the actual error message, so this will still work with your editor of choice for jumping to the right line. Before ------ Success: Compiled src/foo.erl Failure: include/foo.hrl:10: syntax error [...] After ----- Success: Compiled src/foo.erl Failure: Compiling src/foo.erl failed: include/foo.hrl:10: syntax error [...]
* | | | | Merge pull request #215 from tuncer/experimentalJared Morrow2014-01-163-14/+3
|\ \ \ \ \ | | | | | | | | | | | | Remove experimental flags
| * | | | | Remove experimental flagsTuncer Ayaz2014-01-143-14/+3
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove experimental flag from: * qc compile_only=true * eunit compile_only=true * src/foo.app.src.script * eunit tests=
* | | | | Merge pull request #214 from tuncer/compile_onlyJared Morrow2014-01-162-2/+5
|\ \ \ \ \ | | | | | | | | | | | | Document compile_only=true
| * | | | | Document compile_only=trueTuncer Ayaz2014-01-142-2/+5
| |/ / / /
* | | | | Merge pull request #210 from tuncer/erlydtl-warningsJared Morrow2014-01-161-0/+4
|\ \ \ \ \ | |_|/ / / |/| | | | Fix #205 (erlydtl:compile/3 returns warnings)
| * | | | erlydtl: add missing clause (Reported-by: goofansu)Tuncer Ayaz2014-01-141-0/+2
| | | | | | | | | | | | | | | | | | | | erlydtl implemented 'binary' option. Add new clause for {binary, false}.
| * | | | Fix #205 (erlydtl:compile/3 returns warnings)Tuncer Ayaz2014-01-111-0/+2
| |/ / / | | | | | | | | | | | | | | | | Adapt rebar_erlydtl_compiler to handle warnings emitted by erlydtl:compile/3.
* | | | Merge pull request #191 from tuncer/rename-modulesJared Morrow2014-01-144-19/+93
|\ \ \ \ | | | | | | | | | | Fix #187 (rename getopt and mustache)
| * | | | Fix #187 (rename mustache to rebar_mustache)Tuncer Ayaz2014-01-012-5/+7
| | | | |
| * | | | Fix #187 (rename getopt to rebar_getopt)Tuncer Ayaz2014-01-012-14/+86
| |/ / / | | | | | | | | | | | | While at it, update getopt.erl to git rev 78eda3b.
* | | | Merge pull request #196 from tuncer/rebar-run-infoJared Morrow2014-01-141-1/+3
|\ \ \ \ | | | | | | | | | | Print a more appropriate message on 'rebar info'
| * | | | Print a more appropriate message on 'rebar info'Tuncer Ayaz2014-01-011-1/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | To avoid treating plugins' info/2 functions as commands, we catch calls to 'rebar info'. Previously (4b8c81fb) we simply printed the help string, but it's much more informative to print the following: Command 'info' not understood or not applicable
* | | | Merge pull request #183 from EchoTeam/generate-upgrade-and-target-dirJared Morrow2014-01-141-5/+3
|\ \ \ \ | |/ / / |/| | | generate-upgrade can now take target_dir argument
| * | | generate-upgrade can now take target_dir argumentsnaky2013-12-031-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous generate-upgrade required renames in rel/ directory: rebar generate ...changing code... mv rel/<release> rel/<release_prev> rebar generate rebar generate-upgrade previous_release=<release_prev> With the proposed changes you can now do the same without moving things: rebar generate # default target dir: rel/<release> ...changing code... rebar generate target_dir=<release_new> rebar generate-upgrade target_dir=<release_new> previous_release=<release>
* | | | Add command to rebar:command_names/0Pierre Fenoll2013-12-191-0/+1
| | | |
* | | | Add a library templatePierre Fenoll2013-12-192-0/+12
| | | |
* | | | rebar_dia_compiler: fix Dialyzer warningsTuncer Ayaz2013-12-171-2/+2
| | | |
* | | | Fix is_verbose/1 helper functionTuncer Ayaz2013-12-066-24/+30
| | | |
* | | | Write ERROR messages to standard_error deviceTuncer Ayaz2013-12-061-2/+6
| | | |
* | | | Change default log level to 'warn' and introduce -q/--quietTuncer Ayaz2013-12-062-12/+20
| | | |
* | | | rebar_log: use defines for log level numbersTuncer Ayaz2013-12-061-8/+12
| | | |
* | | | rebar_config:is_verbose/0: fix variable nameTuncer Ayaz2013-12-061-2/+2
| | | |
* | | | Make list of commands (for unabbreviation) easier to maintainTuncer Ayaz2013-12-041-5/+26
| | | | | | | | | | | | | | | | | | | | It's easier to modify the list with each command on a separate line. The shell completion scripts have already been modified that way.
* | | | Merge pull request #174 from tuncer/dialyzer-fixesJared Morrow2013-12-031-1/+1
|\ \ \ \ | | | | | | | | | | rebar_core: fix Dialyzer warning introduced in aa46d85 (#157)
| * | | | rebar_core: fix Dialyzer warning introduced in aa46d85 (#157)Tuncer Ayaz2013-11-261-1/+1
| | | | |