summaryrefslogtreecommitdiff
path: root/src/rebar_utils.erl
Commit message (Collapse)AuthorAgeFilesLines
* re-export functions only used within rebar_utils that are also needed by pluginsTristan Sloughter2015-04-021-1/+4
|
* treat _checkouts as deps that are always compiledTristan Sloughter2015-03-211-0/+1
|
* flatten command to open_port so <17 Erlangs are happyTristan Sloughter2015-03-161-3/+3
|
* don't traverse into subdirectories looking for beamsTristan Sloughter2015-03-071-2/+1
|
* use rebar_utils:sh for git and hg commands to have better errors and logsTristan Sloughter2015-03-031-0/+11
|
* `as` delegates task handling to `do` provideralisdair sullivan2015-03-021-2/+2
|
* Port env var expension fix from rebar2Fred Hebert2015-02-251-1/+1
| | | | See https://github.com/rebar/rebar/pull/458
* output hook stdout and don't add extra newlineTristan Sloughter2015-02-231-1/+2
|
* consolidate app validation and exist checksTristan Sloughter2015-02-221-17/+4
|
* sort project apps before merging depsTristan Sloughter2015-02-191-1/+11
|
* factor out task/args parsing from `do` for use in other metaalisdair sullivan2015-02-081-1/+54
| | | | commands
* print error message for failed fetchTristan Sloughter2014-12-051-22/+0
|
* move dir functions from utils to new module rebar_dirTristan Sloughter2014-12-011-104/+3
|
* fixes for dialyzer findingsTristan Sloughter2014-11-301-25/+1
|
* global plugins install to global config directoryTristan Sloughter2014-11-291-3/+11
|
* wip: profilesTristan Sloughter2014-11-291-1/+50
|
* add cleanup_code_path back to rebar_utils for eunit providerTristan Sloughter2014-11-141-1/+16
|
* use CONFIG_DIR of rebar3 for config directoriesTristan Sloughter2014-11-101-1/+6
|
* handle throw by relxTristan Sloughter2014-11-081-3/+3
|
* add eunit task, still work to be doneTristan Sloughter2014-11-051-0/+18
|
* install test deps to separate directoryTristan Sloughter2014-11-041-8/+9
|
* update config deps and support semver in app vsnTristan Sloughter2014-11-031-0/+3
|
* add make_vsn to rebar_resource for replacing app vsnsTristan Sloughter2014-11-031-10/+13
|
* verify checked out dep is the same as specified in the config and update if notTristan Sloughter2014-11-011-1/+1
|
* test deps support, but builds them after project apps currentlyTristan Sloughter2014-10-161-0/+10
|
* remove unused utils functionsTristan Sloughter2014-10-161-127/+19
|
* fixed up a few unknown typesTristan Sloughter2014-09-211-2/+2
|
* down to last 2 dialyzer errorsTristan Sloughter2014-09-211-14/+2
|
* fix support for r15Tristan Sloughter2014-09-171-0/+12
|
* remove use of 17+ function lists:droplast/1Tristan Sloughter2014-09-171-1/+5
|
* 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