Tuncer Ayaz
34ead92c83
Fix #187 (rename mustache to rebar_mustache)
2014-01-01 10:59:34 +01:00
Tuncer Ayaz
777fefe181
Fix #187 (rename getopt to rebar_getopt)
...
While at it, update getopt.erl to git rev 78eda3b.
2014-01-01 10:59:34 +01:00
Tuncer Ayaz
f2b370085c
inttest/depplugins: update docs
2014-01-01 10:59:16 +01:00
Tuncer Ayaz
a8a415aed4
Fix regression caused by 252b31f
( #90 )
2014-01-01 10:59:16 +01:00
Tuncer Ayaz
39c38b6141
rebar_core: minor comment fix
2014-01-01 10:59:16 +01:00
Tuncer Ayaz
298743d50e
Add test for regression caused by 252b31f
( #90 )
2014-01-01 10:59:16 +01:00
Tuncer Ayaz
4af177bd06
Print a more appropriate message on 'rebar info'
...
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
2014-01-01 10:58:32 +01:00
Jared Morrow
df42410cf2
Merge pull request #190 from tuncer/quadruple-timeout
...
inttest/rgen_1: double the timeout a second time
2013-12-31 08:58:01 -08:00
Jared Morrow
3e573baee6
Merge pull request #198 from tuncer/clean-up-rebar-config-script
...
Clean up rebar.config.script
2013-12-31 08:55:29 -08:00
Jared Morrow
81b9ed0606
Merge pull request #201 from fenollp/create-lib
...
Added a library template.
2013-12-20 08:20:39 -08:00
Pierre Fenoll
70cdb37942
Add command to rebar:command_names/0
2013-12-19 23:05:49 +00:00
Pierre Fenoll
c83d037404
Add a library template
2013-12-19 22:01:25 +00:00
Jared Morrow
b97677c2c2
Merge pull request #200 from tuncer/fix-debug-bootstrap
...
bootstrap: avoid trying to run 'debug' command
2013-12-17 06:46:10 -08:00
Jared Morrow
e73098afea
Merge pull request #199 from tuncer/dia-dialyzer-warnings
...
rebar_dia_compiler: fix Dialyzer warnings
2013-12-17 05:50:14 -08:00
Tuncer Ayaz
af305f2425
bootstrap: avoid trying to run 'debug' command
...
If you invoke 'make debug', then bootstrap executes rebar:main/1 with
the extra argument "debug" and rebar treats that as a command. There is
no such command.
Without this patch you will see the following on bootstrap:
Command 'debug' not understood or not applicable
2013-12-17 14:28:58 +01:00
Tuncer Ayaz
031e7c5fc5
rebar_dia_compiler: fix Dialyzer warnings
2013-12-17 14:27:35 +01:00
Tuncer Ayaz
7d70dfbe6f
Clean up rebar.config.script
2013-12-17 14:27:24 +01:00
Tuncer Ayaz
0f8ef12341
inttest/rgen_1: double the timeout a second time
...
60s still seems to be too low, as it timed out for at least the R15B01
job of the timeout patch merge:
https://travis-ci.org/rebar/rebar/builds/15051701
https://travis-ci.org/rebar/rebar/jobs/15051703
2013-12-17 14:27:10 +01:00
Jared Morrow
fbc51c0a8c
Merge pull request #184 from tuncer/logging
...
Fix log levels
2013-12-16 12:47:16 -08:00
Tuncer Ayaz
277a10cd3b
Fix is_verbose/1 helper function
2013-12-06 21:39:53 +01:00
Tuncer Ayaz
f39309a660
Write ERROR messages to standard_error device
2013-12-06 19:05:45 +01:00
Tuncer Ayaz
6de94e8a16
Change default log level to 'warn' and introduce -q/--quiet
2013-12-06 19:05:45 +01:00
Tuncer Ayaz
e5d76e7e8c
rebar_log: use defines for log level numbers
2013-12-06 19:05:45 +01:00
Tuncer Ayaz
2f636236bf
rebar_config:is_verbose/0: fix variable name
2013-12-06 19:05:45 +01:00
Dave Smith
ad1da88a07
Merge pull request #189 from tuncer/rgen1_timeout
...
inttest/rgen1: increase retest timeout (30s -> 60s)
2013-12-06 10:03:12 -08:00
Tuncer Ayaz
a3430a8053
inttest/rgen1: increase retest timeout (30s -> 60s)
...
The current default (30s) causes inttest/rgen1 to timeout too often. Add
retest.config to double the timeout.
2013-12-06 18:15:14 +01:00
Jared Morrow
74e69faebe
Merge pull request #179 from tuncer/commands-list
...
Make list of commands (for unabbreviation) easier to maintain
2013-12-04 12:12:27 -08:00
Tuncer Ayaz
6fe3b82b5b
Make list of commands (for unabbreviation) easier to maintain
...
It's easier to modify the list with each command on a separate line.
The shell completion scripts have already been modified that way.
2013-12-04 20:11:49 +01:00
Dave Smith
745b14ddf1
Merge pull request #185 from tuncer/retest-upstream
...
Switch retest dep to upstream (dizzyd/retest.git)
2013-12-04 11:01:39 -08:00
Tuncer Ayaz
8557f6c5bc
Switch retest dep to upstream (dizzyd/retest.git)
...
Now that Dave has merged all patches, it's safe to switch back to
upstream retest.
2013-12-04 19:57:31 +01:00
Jared Morrow
c02fcec92c
Merge pull request #174 from tuncer/dialyzer-fixes
...
rebar_core: fix Dialyzer warning introduced in aa46d85
(#157 )
2013-12-03 13:10:05 -08:00
Jared Morrow
dac4f9245d
Merge pull request #173 from tuncer/unknown-vsn
...
Fix false reporting of (plain) vsn strings
2013-12-03 13:07:01 -08:00
Jared Morrow
cedb889137
Merge pull request #172 from tuncer/dep-examples
...
Add missing dep examples and fix existing ones
2013-12-03 13:04:16 -08:00
Jared Morrow
7e81b22218
Merge pull request #152 from tuncer/test-erl_opts
...
Fix erl_opts use
2013-12-03 13:02:58 -08:00
snaky
2246d1b69e
generate-upgrade can now take target_dir argument
...
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>
2013-12-03 12:32:39 +04:00
Jared Morrow
30531b6d1b
Merge pull request #177 from tuncer/unused-retest-binary
...
Delete unused inttest/retest binary
2013-11-27 08:43:36 -08:00
Tuncer Ayaz
08a87bb5bd
Delete unused inttest/retest binary
2013-11-27 17:05:12 +01:00
Tuncer Ayaz
37310820f7
rebar_core: fix Dialyzer warning introduced in aa46d85
( #157 )
2013-11-26 21:15:04 +01:00
Tuncer Ayaz
55d1539404
lfe: use correctly filtered erl_opts
2013-11-26 20:33:56 +01:00
Tuncer Ayaz
8f05368ba4
erlc: properly reuse the right erl_opts in test_compile
...
Avoid getting erl_opts twice in test_compile/3, and make sure the
correctly filtered (platform_define, etc.) version is used.
2013-11-26 20:33:56 +01:00
Tuncer Ayaz
edef0962d2
Fix false reporting of (plain) vsn strings
...
rebar used to mistakenly report plain version strings like
{vsn, "1.0.0"} as follows:
DEBUG: vcs_vsn: Unknown VCS atom in vsn field: "1.0.0"
Properly detect unknown/unsupported version terms and abort
if we encounter one.
While at it, rename a variable in vcs_vsn/3 to be non-misleading.
2013-11-26 20:33:34 +01:00
Tuncer Ayaz
79903b9eeb
deps: remove undocumented fossil syntax
...
As discussed with Martin Schut, remove support for
{app_name, "vsn", {fossil, "url", latest}.
2013-11-26 20:30:16 +01:00
Tuncer Ayaz
d7cef6b4c1
Add missing dep examples and fix existing ones
2013-11-26 20:30:16 +01:00
Jared Morrow
988c9cd574
Merge pull request #155 from tuncer/fixes
...
Fixes for #137 and #142
2013-11-26 06:18:30 -08:00
Jared Morrow
9a158d37fc
Merge pull request #157 from Vagabond/adt-lib-dir
...
Don't over-aggressively clean the code path in the presence of lib_dir directives
2013-11-22 14:17:21 -08:00
Jared Morrow
05f81eca8a
Merge pull request #154 from Vagabond/adt-update-tags
...
Fix update-deps with certain forms of the {tag, ...} type
2013-11-22 13:42:54 -08:00
Jared Morrow
8b7f5442a9
Roll rebar version 2.1.0
2013-11-22 07:54:28 -07:00
Jared Morrow
bef8286706
Merge pull request #166 from mdaguete/no_runner_script_var
...
Init RUNNER_SCRIPT var in simplenode.runner
2013-11-18 21:08:32 -08:00
Manuel Durán Aguete
e1d218f99a
Init RUNNER_SCRIPT var in simplenode.runner
...
RUNNER_SCRIPT variable is not initialized in simplenode.runner and it's
referenced when calling sudo.
2013-11-18 13:17:35 +01:00
Andrew Thompson
aa46d85849
Don't badmatch if a path we think we added isn't in the code path
2013-10-17 12:36:36 -04:00