Commit graph

1646 commits

Author SHA1 Message Date
Oliver Ferrigni
d893708563 Fix file handling on windows for tests
Running tests on windows creates false positive due to setup failures
not executing all tests.  Checking for tmp_dir was failing on
subsequent runs.  Added cases to tmp_dir creation to delete preexisting
tmp_dirs in .eunit directory.
2013-01-14 15:16:13 -06:00
Tuncer Ayaz
4b8c81fb53 Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msg
* allow plugins to print help message for implemented commands
* append core rebar.config options to common 'rebar help' message
2012-12-31 20:45:11 +01:00
Slava Yurin
b63328bb16 Correct ext of neotoma output file 2012-12-31 11:16:47 +07:00
Dave Smith
78fa8fc3d5 Merge branch 'saleyn-erlydtl' 2012-12-17 09:27:07 -07:00
Dave Smith
f2b79fc748 Merge pull request #48 from tuncer/286
Fix basho/rebar/issues/286
2012-12-17 08:04:02 -08:00
Tuncer Ayaz
2716d83a18 Fix basho/rebar/issues/286 2012-12-17 12:53:48 +01:00
Ulf Wiger
209ca73b91 rebar_eunit:reset_after_eunit/1 mustn't remove 'included_applications'
One could argue that rebar_eunit does some pretty dangerous stuff when
trying to clean up after a test run, but specifically, it tells the
Application Controller to delete everything returned by
application:get_all_env(App). Unfortunately, included_applications
also goes, which can lead to a crash in application_controller, if
the application is subsequently unloaded.

This patch attempts the smallest possible fix: remove all env
variables except included_applications.
2012-12-16 21:30:15 +01:00
Philip Mueller
4ae4a80219 change cover html generation to produce valid html
- added missing doctype
- added encoding statement
- removed invalid additional opening <body> tag
2012-12-12 12:38:39 +01:00
Anthony Ramine
22641c07ec Ensure we always have a registered value in .app files
`systools:make_relup/4` fails with `{missing_param, registered}`
without a `registered` value.
2012-12-07 14:43:35 +01:00
Dave Smith
71c717d86b Merge pull request #26 from l4u/patch-1
Support environment vars with unicode characters
2012-12-02 09:52:29 -08:00
Dave Smith
65ed9d9811 Merge pull request #34 from shkumagai/feature/zsh-completion-add-options
Add missing variables
2012-12-02 08:05:39 -08:00
Shoji KUMAGAI
f5a5843d77 Add missing variables
- add overlay_vars=, target_dir=, and tests= with short description
2012-12-03 00:04:07 +09:00
Dave Smith
89e94337ec Merge pull request #33 from tuncer/bash-completion
bash-completion: add missing options and variables
2012-12-01 12:18:53 -08:00
Tuncer Ayaz
dfbba0f4e7 bash-completion: add missing options and variables
- add missing short and long options
- add tests=, target_dir=, overlay_vars=
2012-12-01 15:31:01 +01:00
Dave Smith
40ef11b4c4 Merge pull request #32 from shkumagai/feature/zsh-completion-dump_spec
zsh-completion: add 'dump_spec' back again
2012-11-30 14:56:43 -08:00
Shoji KUMAGAI
da5cbe3b0f zsh-completion: add 'dump_spec' back again 2012-12-01 01:30:48 +09:00
Dave Smith
986158d84a Merge pull request #31 from tuncer/bash-completion-dump_spec
bash-completion: add dump_spec=1
2012-11-30 07:22:21 -08:00
Tuncer Ayaz
1ce06c76fc bash-completion: add dump_spec=1 2012-11-30 16:09:41 +01:00
Dave Smith
870d11a813 Merge pull request #28 from tuncer/fix-escript_emu_args-sample
rebar.config.sample: fix escript_emu_args sample
2012-11-30 06:56:10 -08:00
Tuncer Ayaz
51c577f5bf rebar.config.sample: fix escript_emu_args sample 2012-11-30 15:56:38 +01:00
Dave Smith
e47e03bfce Merge pull request #29 from tuncer/makefile
Makefile: fix 'clean' and add 'distclean'
2012-11-30 06:49:05 -08:00
Dave Smith
f0a2c5e84f Merge pull request #19 from shkumagai/feature/zsh-completion-refine
Change zsh completion script
2012-11-30 06:35:35 -08:00
Dave Smith
e3c028e9ae Merge pull request #20 from tuncer/bash-completion
bash-completion: add generate-appups
2012-11-30 06:33:30 -08:00
Tuncer Ayaz
8e12652aa6 Makefile: fix 'clean' and add 'distclean'
* fix 'clean' to remove .eunit (not .test)
* add 'distclean' to also remove deps/
2012-11-26 13:39:42 +01:00
Tuncer Ayaz
ee97a65c14 bash-completion: add generate-appups 2012-11-26 13:39:36 +01:00
Dave Smith
5079bd5949 Merge pull request #30 from DeadZen/master
Update THANKS: use my real name
2012-11-25 06:43:27 -08:00
DeadZen
5ebc29c21e Update THANKS 2012-11-24 12:06:00 -05:00
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