Tuncer Ayaz
b6908421b7
erlc: clean-up, enhance, and regression fix fd17693
...
* 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
2014-03-05 15:44:38 +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
Dave Smith
490d00f0d6
Adding debug statements closer to open_port
2013-06-25 15:59:05 -06:00
Dave Thomas
091405bce7
Fix crsh with Unicode in environment vars
2013-06-23 20:30:38 -05:00
Dave Thomas
dd277fd01a
Fix crash when env vars contain utf8 chars
2013-06-22 21:41:04 -05:00
Dave Thomas
934ec7fdef
Add one more "unicode" option in expand_env_variable—I have a bullet in my prompt that was blowing it up
2013-06-21 23:40:32 -05:00
Slava Yurin
fb77295a1f
Fix handling of Unicode characters in env vars
2013-02-18 14:20:27 +07:00
Tuncer Ayaz
588244465f
Revert arch string changes
2012-10-29 16:01:28 +01:00
Tuncer Ayaz
2829741a38
Fix whitespace errors
2012-09-28 23:37:18 +02:00
Martin Schut
fbbeb360a5
deps: add fossil scm support
2012-09-28 23:34:53 +02:00
Tuncer Ayaz
1b52a597c4
Revert 15b7798e4
and restore old git-describe call
...
Restore previous 'git describe' behaviour as discussed here:
http://lists.basho.com/pipermail/rebar_lists.basho.com/2012-September/001713.html
2012-09-21 17:20:03 +02:00
Tuncer Ayaz
8f3873e061
rebar_utils: refactor get_experimental and get_deprecated funs
2012-08-10 14:28:42 +02:00
Tuncer Ayaz
e47d643ea3
Use separate dirs for eunit and qc
2012-08-09 18:37:26 +02:00
Tuncer Ayaz
16091f9934
rebar_utils: fix whitespace error
2012-08-09 16:14:42 +02:00
Tuncer Ayaz
803f6e8ecd
Replace test-compile with compile_only=true option
2012-08-09 14:04:53 +02:00
Tuncer Ayaz
1b9f2a5981
rebar_utils: fix whitespace error
2012-08-06 19:35:46 +02:00
Tuncer Ayaz
e2492eb37f
rebar_utils: call get_cwd/1 locally
2012-08-06 19:00:03 +02:00
Tuncer Ayaz
870f8cfbb4
rebar_utils: clean up specs
2012-08-06 18:52:33 +02:00
Tuncer Ayaz
0b18b208e2
Only print absolute filename if not in base_dir
2012-08-05 19:56:27 +02:00
Joseph Wayne Norton
2d62896de0
Fix -D handling
2012-07-28 19:36:46 +02:00
Tuncer Ayaz
e75a97ad33
Add 'qc' cmd and rename eunit-compile to test-compile
2012-07-23 16:22:06 +02:00
Tuncer Ayaz
252757c753
Do not use application:set_env
2012-07-23 13:17:11 +02:00
Tuncer Ayaz
e185e86bff
Remove shared state
2012-07-13 15:21:56 +02:00
Tuncer Ayaz
9521d3fd86
Clean up rebar_utils exports
2012-07-02 19:13:11 +02:00
Tuncer Ayaz
df9b77633a
Move erl_opts/1 and src_dirs/1 to proper place
2012-07-02 18:47:06 +02:00
Motiejus Jakštys
394c0f43f8
Move erl_opts/1 and src_dirs/1 to rebar_utils.erl
...
These functions will be necessary in rebar_eunit.erl, too.
2012-07-02 18:46:00 +02:00
Tuncer Ayaz
4e9e89bd0d
Append os family to arch string
2012-06-23 22:05:43 +02:00
Tuncer Ayaz
c41fda6a2f
rebar_utils: move internal fun to proper place
2012-06-23 22:00:38 +02:00
Tuncer Ayaz
e6165c7146
Fix #252 (Reported-by: Maxim-Vladimirsky)
2012-06-21 00:08:51 +02:00
Tuncer Ayaz
0f961d86c6
Fix #247 (Reported-by: Uvarov Michael)
2012-06-17 16:11:59 +02:00
Dave Smith
ebdb25c5cc
Use delayed_halt everywhere
2012-06-08 07:06:15 -06:00
Dave Smith
c86c99940d
Remove ?FAIL in favor of ?ABORT
2012-06-08 07:06:15 -06:00
Tuncer Ayaz
e6d5a494b0
Clarify use of git describe
2012-05-11 23:57:38 +02:00
Tuncer Ayaz
fc83f4b961
Apply Tidier suggestion
2012-04-16 22:09:20 +02:00
Tuncer Ayaz
3f14c1c092
Skip erlang:halt/1 workaround if >=R15B01
2012-03-27 14:19:54 +02:00
Tuncer Ayaz
9d5557b16f
Deprecate port_envs in favor of port_env
2012-03-09 20:21:26 +01:00
Tuncer Ayaz
da122b3e57
Add rebar_utils:delayed_halt/1
2012-02-16 19:17:58 +01:00
Tuncer Ayaz
ba538094ba
Extend rebar_utils:deprecated
2012-02-03 10:17:58 +01:00
Tuncer Ayaz
a176db6937
Fix Dialyzer (race condition) warning
2012-02-02 22:54:40 +01:00
Yurii Rashkovskii
fe1652e137
Cache vsn info to avoid expensive vcs cmd calls
2012-02-02 21:54:15 +01:00
Tuncer Ayaz
440fa6bd31
Only print sh/2 options on debug log level
2012-01-29 17:55:30 +01:00
Tuncer Ayaz
41d6abc64d
Fix whitespace errors
2012-01-13 19:56:10 +01:00
Tuncer Ayaz
87669b6b7f
Clean up rebar_utils
2012-01-10 11:15:55 +01:00
Tuncer Ayaz
1daa15293a
Reverse order in rebar_utils:get_deprecated_global/3
2012-01-06 19:50:20 +01:00
Tuncer Ayaz
27e5a0ae5b
Cleanup and simplify deprecated option handling
2012-01-01 15:10:35 +01:00
Tuncer Ayaz
1de48e4902
Move vcs_vsn/2 to rebar_utils
2011-12-28 13:09:46 +01:00
Tuncer Ayaz
8c89a388bf
Universally support apps=/skip_apps=
2011-12-12 21:20:34 +01:00
Tuncer Ayaz
a5e39c2c54
Move is_skipped_app/0 to rebar_app_utils
2011-12-12 17:53:56 +01:00
Tuncer Ayaz
b1d84514f0
Add rebar_utils:deprecated/4 and remove define
2011-12-12 17:52:04 +01:00
Torbjorn Tornkvist
b4f136d752
Make 'rebar xref' honour the skip_app directive
...
It is now possible to call rebar as:
rebar xref skip_app=Mod1,Mod2,...
This makes it easy to skip running xref on (e.g)
imported dependencies in your application.
The function rebar_utils:is_skipped_app/0 is added so
that other rebar commands may use it.
2011-12-12 17:06:23 +01:00