Commit graph

1469 commits

Author SHA1 Message Date
Dave Smith
329eba4e52 Merge pull request #13 from tuncer/fixes
Fixes
2012-11-23 07:19:32 -08:00
Dave Smith
7325784fb0 Merge pull request #27 from norton/norton-qc-clean
Add missing clean/2
2012-11-23 07:17:48 -08:00
Joseph Wayne Norton
7d624e9018 Add missing rebar_qc:clean/2 2012-11-23 22:14:56 +09:00
José Valim
61c353dcfd Support environment vars with unicode characters
The results returned by os:getenv() may contain unicode characters.
That said, we need to explicitly allow unicode when splitting the
environment information, otherwise badarg will be raised causing all
rebar commands to fail until the environment variable is removed.
2012-11-22 01:30:49 +08:00
Magnus Henoch
e4083cacee Run eunit suites in the order specified in the 'suites' command line parameter
Normally, Rebar runs eunit tests in the order the beam files are
stored in the file system (see rebar_utils:beams).  However, sometimes
it is desirable to run the tests in a different order (e.g. to
reproduce an error found on a build server).  For that case, it would
make sense to use the 'suites' parameter not just for selecting which
modules to consider, but also for choosing the order.
2012-11-20 15:50:00 +00:00
Tuncer Ayaz
e86ec457b6 rebar.config.sample: remove non-existing option 2012-11-20 00:23:24 +01:00
Tuncer Ayaz
a6617bdaff rebar.config.sample: document escriptize options 2012-11-19 23:42:07 +01:00
Tuncer Ayaz
e74a0feb05 rebar.config: delete unused and unimplemented 'app_bin' option
app_bin option was used by the install command which has been
removed in 51ed787.
2012-11-19 00:16:34 +01:00
Tuncer Ayaz
06dbb4cb80 Document escriptize command 2012-11-19 00:01:59 +01:00
Tuncer Ayaz
abb319d10a rebar_ct: fix wording in comments 2012-11-18 23:36:59 +01:00
Tuncer Ayaz
39728242f0 rebar.config.sample: document leex and yecc options 2012-11-18 19:50:54 +01:00
Tuncer Ayaz
0d5583db5a rebar_require_vsn: remove trailing whitespace 2012-11-18 19:36:59 +01:00
Tuncer Ayaz
3ee2a4a6d0 rebar.config.sample: document require_*_vsn options 2012-11-18 19:36:01 +01:00
Tuncer Ayaz
ed55df9648 rebar_neotoma_compiler: fix comment 2012-11-18 18:57:55 +01:00
Shoji KUMAGAI
0bb1416479 Change zsh completion script
- Add 'escriptize' command
- Remove variable 'dump_spec'
2012-11-16 14:52:34 +09:00
serge
edfee29b15 Fix default DTL compilation when no erlydtl_opts are provided 2012-11-15 16:34:06 -05:00
Tuncer Ayaz
a015892e21 Cleanup rebar_core and rebar_erlc_compiler
Rename rebar_core functions for improved readability.
Remove redundant comments and blank lines.
2012-11-15 15:41:51 +01:00
Dave Smith
92fb083011 Merge pull request #18 from tuncer/fix-config-sample
Fix rebar.config.sample
2012-11-15 06:06:55 -08:00
Tuncer Ayaz
6a63ab9f6c rebar_erlc_compiler: fix src_dirs comment 2012-11-15 01:33:26 +01:00
Tuncer Ayaz
e593a90a3c rebar.config.sample: fix erl_opts example 2012-11-15 01:31:53 +01:00
Tuncer Ayaz
9ac9d935c0 rebar.config.sample: fix raw dep example formatting 2012-11-15 01:28:48 +01:00
Tuncer Ayaz
e6ee469c4d rebar.config.sample: fix syntax error 2012-11-14 23:19:10 +01:00
Dave Smith
bf35ec9392 Merge branch 'ates-diameter' 2012-11-12 21:40:57 -07:00
Dave Smith
473843d3cc Add diameter exclusions to xref 2012-11-12 21:40:35 -07:00
Dave Smith
7dad2b384b Be sure to filter empty sources (h/t to Tuncer and Joe Norton) 2012-11-12 20:18:00 -07:00
Dave Smith
ebb474b759 Bumping to 2.1.0-pre 2012-11-12 08:19:44 -07:00
Dave Smith
9d42b72bcc Merge pull request #15 from rebar/dss-restore-ports
Restore support for so_name, port_envs and port_sources
2012-11-12 06:55:00 -08:00
Artem Teslenko
4c25718492 Add support to compile the Diameter dictionary files 2012-11-12 15:03:43 +02:00
Dave Smith
9ac6c25f6d Restore support for so_name, port_envs and port_sources 2012-11-11 13:03:24 -07:00
Dave Smith
38b08252c6 Merge pull request #14 from tuncer/fix-list-keysort-call
Fix rebar_erlydtl_compiler:erlydtl_opts/1 and rebar:run/2
2012-11-10 16:57:14 -08:00
Tuncer Ayaz
a9491e112f Fix Dialyzer warning in rebar:run/2 2012-11-11 00:21:13 +01:00
Tuncer Ayaz
93f6ef36af rebar_erlydtl_compiler: fix incorrect lists:keysort/2 call 2012-11-11 00:14:42 +01:00
Dave Smith
0c8dd15c79 Merge pull request #328 from saleyn/depcheck
Fix erlydtl dependency check
2012-11-10 06:13:15 -08:00
Dave Smith
7826232a03 Merge pull request #327 from saleyn/erlydtl_compiler
Erlydtl compiler
2012-11-10 06:08:16 -08:00
Dave Smith
a2fb8fdc39 Expose Erlang API for invoking rebar 2012-11-06 08:40:41 -07:00
Dave Smith
a7c32f8d98 Add comment to explain why we're using sub_dirs by hand 2012-11-05 06:19:02 -07:00
Daniel Luna
b1a947488b Add all subdirs to xref library path 2012-11-05 06:19:02 -07:00
Daniel Luna
2b5844d14c Add email address to my name 2012-11-05 06:19:02 -07:00
Dave Smith
3ef13839d7 Merge pull request #5 from tuncer/zsh-typos
zsh completion: fix typos
2012-11-01 04:40:07 -07:00
Dave Smith
516acd43b7 Merge branch 'master' of github.com:/basho/rebar 2012-11-01 05:39:22 -06:00
Tuncer Ayaz
d97f94ae1e zsh completion: fix typos 2012-11-01 12:13:07 +01:00
Dave Smith
6eb7c08499 Merge pull request #293 from Motiejus/skip_deps
Add skip_deps=AppListSeparatedByCommas feature.

I agree it's a bit of a weird thing, but it's a reasonable and safe extension. When time comes to properly overhaul stuff, skip_deps should disappear entirely.
2012-10-31 19:47:13 -07:00
Dave Smith
5966880fe1 Merge pull request #4 from shkumagai/feature/add-zsh-completion
Add zsh completion script
2012-10-31 19:42:43 -07:00
Arjan Scherpenisse
cc67814b65 ct: skip instead of halt on missing/unknown suite
This allows `rebar ct suites=abc` to consider all suites when
you have a rebar setup with multiple sub_dirs.

Previously, rebar halted after it could not find the suite in the
first dir. But the suite might be present in another dir (when
sub_dirs contains multiple dirs).

This commit makes it so instead of halting, it prints a warning and
continues with looking for the suite in the other `sub_dir`s.

Note -- This uses try/catch to cause the test to be skipped because
otherwise I needed to adjust the return values of 4 functions, the
code path is pretty deeply nested here. Otherwise the whole call chain
needed to be adjusted for this return value:

`run_test -> make_cmd -> get_suites -> find_suite_path`

IMHO, I think for exceptional cases like this it is fine to use throw;
specially since only the {skip} is catched and nothing else.
2012-10-31 20:37:42 -06:00
Shoji KUMAGAI
468e1ec9a9 Add zsh completion script
For enable to shell-completion in zsh.
2012-11-01 10:47:13 +09:00
Dave Smith
380506c380 Update travis-ci link. 2012-10-31 06:14:05 -06:00
Dave Smith
26bec9f459 Updating .travis.yml for new primary repo 2012-10-31 06:11:11 -06:00
Dave Smith
3a78ef8aa9 Various updates for README to reflect new home for rebar 2012-10-30 21:51:46 -06:00
Dave Smith
3ee3a7cd9e Merge remote-tracking branch 'basho/master' 2012-10-30 21:26:54 -06:00
Dave Smith
08c510130e Merge pull request #243 from evanmcc/pevm_min_otp_version
Add support for minimum OTP versions
2012-10-30 19:23:08 -07:00