summaryrefslogtreecommitdiff
path: root/test/rebar_as_SUITE.erl
Commit message (Collapse)AuthorAgeFilesLines
* Unicode support in all the placesFred Hebert2017-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done through 3 main change groups: - replacing `~s` by `~ts` in format strings, so that strings that contain unicode are properly printed rather than crashing - adding the `unicode` argument to all function of the `re` module to ensure transformations on strings containing unicode data are valid instead of crashing (see issue #1302) - replacing `ec_cnv:to_binary/1` and `ec_cnv:to_list/1` with matching functions in `rebar_utils`. The last point has been done, rather than modifying and updating erlware commons, because binary and list conversions can be a contentious subject. For example, if what is being handled is actually bytes from a given binary stream, then forcing a byte-oriented interpretation of the data can corrupt it. As such, it does not appear safe to modify erlware commons' conversion functions since it may not be safe for all its users. Instead, rebar3 reimplements a subset of them (only converting atoms and chardata, ignoring numbers) with the explicit purpose of handling unicode string data. Tests were left as unchanged as possible. This may impact the ability to run rebar3's own suites in a unicode path, but respects a principle of least change for such a large patch.
* Prevent crashes in `rebar3 as` with no tasksFred Hebert2016-10-171-1/+16
| | | | checks on hd(...) and so on could not handle empty lists
* add profile option to clean taskTristan Sloughter2016-01-231-2/+20
|
* Tests for warningsFred Hebert2015-10-051-2/+32
|
* support args on tasks passed to 'as'Tristan Sloughter2015-03-231-2/+20
|
* parse `rebar3 as foo, bar task` correctlyalisdair sullivan2015-03-061-1/+16
| | | | fixes #238
* name profile directories in `_build` similarly to the argumentsalisdair sullivan2015-03-031-2/+18
| | | | to `as` used to generate them
* fix names in `rebar_as_SUITE`alisdair sullivan2015-03-031-3/+4
|
* `as` delegates task handling to `do` provideralisdair sullivan2015-03-021-0/+88