summaryrefslogtreecommitdiff
path: root/src/rebar_utils.erl
Commit message (Collapse)AuthorAgeFilesLines
* refactoring and remove unused providers for nowTristan Sloughter2014-08-231-1/+9
|
* start of moving to splitting state from config parsingTristan Sloughter2014-08-171-22/+18
|
* large refactoringTristan Sloughter2014-08-161-4/+3
| | | | | | | | Removed separate compilers Resolves apps to build Finds avail deps before pulling/building Includes relx Simplifies build commands
* Follow-up typo fixes for #327Tuncer Ayaz2014-07-171-4/+4
|
* rebar_utils:otp_release/0: handle vsn like x.y.z**Tuncer Ayaz2014-07-171-2/+20
| | | | | | | | | As mentioned in the OTP documentation, licensed customers may use patched OTP installations where the otp_patch_apply tool adds a '**' suffix as a flag saying the system consists of application versions from multiple OTP versions. When we get such a version string, we drop the suffix, as we cannot obtain relevant information from it as far as tooling is concerned.
* Adapt arch string to versioning scheme changes (>= 17.x)Tuncer Ayaz2014-07-171-1/+22
|
* Fix minor whitespace and comment issues in rebar_utilsTuncer Ayaz2014-07-171-15/+27
|
* Merge pull request #229 from tolbrino/tb-patch-envTristan Sloughter2014-06-131-1/+19
|\ | | | | Add REBAR to environment before executing hooks
| * Add REBAR to environment before executing hooksTino Breddin2014-06-021-1/+19
| | | | | | | | | | | | | | | | REBAR will be set to the rebar binary which was executed and runs the builds. Enables the use of the same binary for rebar invocations as part of a pre or post hook like so: ${REBAR} escriptize
* | Merge pull request #136 from waisbrot/add-p4-supportFred Hebert2014-06-131-0/+20
|\ \ | |/ |/| Add support for the Perforce VCS client via the "p4" tool
| * Add 'p4' (Perforce) as a dependency typeNathaniel Waisbrot2014-03-171-0/+20
| | | | | | | | | | | | | | This calls the 'p4' command-line tool to checkout and sync Perforce trees. It involves significantly more special code in Rebar than using 'git p4', but it eliminates the indirection of Rebar->Git->Python->Perforce
* | Do not wrap base_dir with filename:absname() redpine502014-05-101-2/+2
| | | | | | base_dir() returns already filename:absname()'ed path.
* | Update rebar_utils.erlredpine502014-05-081-1/+2
| | | | | | | | | | | | | | On windows, bootstrap.bat failed with next error. Command 'escriptize' not understood or not applicable This happens because the drive name in path got from rebar_utils:get_cwd() and base_dir(Config) are different case. Made the drive name the same lowercase using filename:absname().
* | file_utils: properly report errors (fix #95)Tuncer Ayaz2014-04-111-2/+3
|/ | | | While at it, improve the error message printed by rebar_utils:sh/2.
* erlc: clean-up, enhance, and regression fix fd17693Tuncer Ayaz2014-03-051-1/+5
| | | | | | | | | | | | | | | | | | | | | | * 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
* Fix false reporting of (plain) vsn stringsTuncer Ayaz2013-11-261-6/+8
| | | | | | | | | | | 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.
* Adding debug statements closer to open_portDave Smith2013-06-251-0/+1
|
* Fix crsh with Unicode in environment varsDave Thomas2013-06-231-2/+2
|
* Fix crash when env vars contain utf8 charsDave Thomas2013-06-221-3/+3
|
* Add one more "unicode" option in expand_env_variable—I have a bullet in my ↵Dave Thomas2013-06-211-1/+1
| | | | prompt that was blowing it up
* Fix handling of Unicode characters in env varsSlava Yurin2013-02-181-1/+1
|
* Revert arch string changesTuncer Ayaz2012-10-291-6/+1
|
* Fix whitespace errorsTuncer Ayaz2012-09-281-1/+2
|
* deps: add fossil scm supportMartin Schut2012-09-281-4/+5
|
* Revert 15b7798e4 and restore old git-describe callTuncer Ayaz2012-09-211-11/+1
| | | | | Restore previous 'git describe' behaviour as discussed here: http://lists.basho.com/pipermail/rebar_lists.basho.com/2012-September/001713.html
* rebar_utils: refactor get_experimental and get_deprecated funsTuncer Ayaz2012-08-101-21/+17
|
* Use separate dirs for eunit and qcTuncer Ayaz2012-08-091-4/+0
|
* rebar_utils: fix whitespace errorTuncer Ayaz2012-08-091-1/+1
|
* Replace test-compile with compile_only=true optionTuncer Ayaz2012-08-091-0/+11
|
* rebar_utils: fix whitespace errorTuncer Ayaz2012-08-061-1/+1
|
* rebar_utils: call get_cwd/1 locallyTuncer Ayaz2012-08-061-2/+2
|
* rebar_utils: clean up specsTuncer Ayaz2012-08-061-2/+1
|
* Only print absolute filename if not in base_dirTuncer Ayaz2012-08-051-1/+9
|
* Fix -D handlingJoseph Wayne Norton2012-07-281-3/+3
|
* Add 'qc' cmd and rename eunit-compile to test-compileTuncer Ayaz2012-07-231-2/+9
|
* Do not use application:set_envTuncer Ayaz2012-07-231-8/+8
|
* Remove shared stateTuncer Ayaz2012-07-131-7/+10
|
* Clean up rebar_utils exportsTuncer Ayaz2012-07-021-5/+5
|
* Move erl_opts/1 and src_dirs/1 to proper placeTuncer Ayaz2012-07-021-20/+20
|
* Move erl_opts/1 and src_dirs/1 to rebar_utils.erlMotiejus Jakštys2012-07-021-1/+47
| | | | These functions will be necessary in rebar_eunit.erl, too.
* Append os family to arch stringTuncer Ayaz2012-06-231-1/+6
|
* rebar_utils: move internal fun to proper placeTuncer Ayaz2012-06-231-33/+33
|
* Fix #252 (Reported-by: Maxim-Vladimirsky)Tuncer Ayaz2012-06-211-5/+4
|
* Fix #247 (Reported-by: Uvarov Michael)Tuncer Ayaz2012-06-171-2/+4
|
* Use delayed_halt everywhereDave Smith2012-06-081-1/+1
|
* Remove ?FAIL in favor of ?ABORTDave Smith2012-06-081-2/+6
|
* Clarify use of git describeTuncer Ayaz2012-05-111-3/+2
|
* Apply Tidier suggestionTuncer Ayaz2012-04-161-3/+1
|
* Skip erlang:halt/1 workaround if >=R15B01Tuncer Ayaz2012-03-271-7/+16
|
* Deprecate port_envs in favor of port_envTuncer Ayaz2012-03-091-2/+36
|