summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* add test for clean --allTristan Sloughter2015-07-281-2/+36
|
* add support for old format otp versionsTristan Sloughter2015-07-251-1/+11
|
* parse old format of OTP versionsTristan Sloughter2015-07-241-0/+8
|
* Add functions to validate OTP release in useDerek Brown2015-07-241-1/+50
| | | | | | | | | | | | In the spirit of Original Rebar's "require_min_otp_vsn", this adds rebar_utils:check_min_otp_version/1 (taking a string containing the minimum version) and rebar_utils:check_blacklisted_otp_versions/1 (taking a list of regular expression strings), as well as tests in rebar_utils_SUITE. They're currently only called by the tests- how/where to best place calls to them from non-test code needs to be determined (at which point two corresponding rebar.config keys can be supported). For example, the version probably shouldn't be enforced when just running "rebar3 help".
* do not install profile deps of depsTristan Sloughter2015-07-182-2/+35
|
* only look for top level apps and those directly under apps/ or lib/Tristan Sloughter2015-07-166-37/+37
|
* Failing case for unstable upgrade lock filesFred Hebert2015-07-082-5/+35
|
* ensure necessary directories exist to compile mibs filesTristan Sloughter2015-07-061-3/+49
|
* Merge pull request #579 from carlosedp/add-proxyTristan Sloughter2015-07-051-1/+67
|\ | | | | Add proxy support to bootstrap and rebar3. Enhancement #561.
| * Added version check based on commit ↵CarlosEDP2015-07-041-4/+7
| | | | | | | | https://github.com/ferd/rebar3/commit/74c68478aac948beccc80e68c5ac6a9eb578eceb
| * Refactor tests to init/exec/end. Check OTP version to skip https test on OTP ↵CarlosEDP2015-07-031-39/+45
| | | | | | | | =< 15.
| * Added testcases for http and https proxy use.CarlosEDP2015-07-031-1/+58
| |
* | wip: deps install refactorFred Hebert2015-07-022-8/+58
| |
* | Merge pull request #583 from talentdeficit/remove_cover_print_enabledTristan Sloughter2015-07-011-20/+1
|\ \ | |/ |/| remove `cover_print_enabled` and `cover_data_dir` config options and replace with `cover_opts`
| * remove `cover_print_enabled` and `cover_data_dir` config optionsalisdair sullivan2015-07-011-20/+1
| | | | | | | | and replace with `cover_opts`
* | setup hex httpc profile and http opts. needed also for proxyTristan Sloughter2015-06-291-4/+4
| |
* | Merge pull request #557 from tsloughter/relx_argsFred Hebert2015-06-281-1/+20
|\ \ | | | | | | only reverse some relx args, fixes profile usage for relx
| * | add test of relx config sorting with 'extend release'Tristan Sloughter2015-06-281-1/+20
| | |
* | | Use same random seeding function for random_name and random_vsnViacheslav V. Kovalev2015-06-281-3/+8
| | |
* | | Fixed review commentsDaniel Widgren2015-06-261-19/+1
| | |
* | | Some fixes after reviewViacheslav V. Kovalev2015-06-262-5/+6
| | |
* | | Fixed so that release tests now pass. Got all green tests.Daniel Widgren2015-06-261-1/+19
| | |
* | | Fix rebar_hooks_SUITE:run_hooks_for_plugins/1Viacheslav Kovalev2015-06-261-1/+1
| | | | | | | | | | | | Test required `touch` utility to present on user's machine. Remove this dependency.
* | | Fix rebar_utils:sh on windowsViacheslav V. Kovalev2015-06-261-2/+15
| | |
* | | Fix multi_app_default_dirs test on windows.Viacheslav Kovalev2015-06-261-2/+2
| | | | | | | | | | | | | | | Seed random with erlang:now() because os:timestamp precision is not enough on windows.
* | | Fixed two tests for windows 8.1 and added touch functionalityDaniel Widgren2015-06-261-3/+5
|/ /
* | Make the test work on more versionsFred Hebert2015-06-261-1/+1
| |
* | Adding erl_first_files testFred Hebert2015-06-262-3/+45
| | | | | | | | | | | | The test works by using a parse transform that stamps modules with an attribute as it runs them. It then compiles everything, loads the module, and makes sure the stamps respect the defined order.
* | Adding tests for locksFred Hebert2015-06-251-11/+23
| |
* | Add error message for bad provider hook, fixes #521Tristan Sloughter2015-06-191-1/+1
| |
* | plugins providerTristan Sloughter2015-06-182-132/+202
| |
* | check format of config file and print the bad section in the errorTristan Sloughter2015-06-182-2/+2
| |
* | Use the same dialyzer rebar.config options as rebarJames Fish2015-06-061-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * All configuration is moved to `{dialyzer, PropList}` * `dialyzer_warnings` renamed `warnings` * `dialyzer_plt_warnings` renamed `get_warnings` * `dialyzer_plt_apps` renamed `plt_extra_apps` * `dialyzer_plt_dir` renamed `plt_location` * `{plt_location, local}` uses profile base directory * `dialyzer_plt` removed * `dialyzer_plt_prefix` sets prefix of PLT name (default "rebar3") * `dialyzer_base_plt_apps` renamed `base_plt_apps` * `dialyzer_base_plt_dir` renamed `base_plt_location` * `{base_plt_location, global}` uses rebar3's global cache directory * `dialyzer_base_plt` removed * `base_plt_prefix` sets prefix of PLT name (default "rebar3") PLT files are always named `<prefix>_<otp_version>_plt` to match rebar. `plt_prefix` and `base_plt_prefix` are not available in rebar, where the prefix is always set to the project's top level application.
* | add artifact testTristan Sloughter2015-06-021-1/+29
| |
* | allow `src_dirs` and `extra_src_dirs` at the root of the rebar configalisdair sullivan2015-05-301-4/+91
| |
* | Merge pull request #474 from tsloughter/fix_plugin_installTristan Sloughter2015-05-293-12/+61
|\ \ | | | | | | fixing plugin install and paths
| * | store plugin providers in app_info's state for depsTristan Sloughter2015-05-282-18/+15
| | |
| * | add test for plugin with transitive depsTristan Sloughter2015-05-272-4/+56
| | |
* | | Merge pull request #481 from ferd/fix-atom-pkg-upgradeTristan Sloughter2015-05-282-3/+34
|\ \ \ | |/ / |/| | Fix upgrade of atom-only packages
| * | Fix upgrade of atom-only packagesFred Hebert2015-05-282-3/+34
| | | | | | | | | | | | they would always be left unfound otherwise.
* | | Add rebar.config 'excluded_apps' key.Jean Parpaillon2015-05-231-0/+49
|/ / | | | | | | | | | | Listed applications are simply ignored. Allows for configuration time sub-application building.
* | fix storing of pkg and src deps in app_infoTristan Sloughter2015-05-221-3/+2
| |
* | run hooks when building pluginsTristan Sloughter2015-05-211-1/+29
| |
* | Merge pull request #456 from kovyl2404/provider-hooks-namespaces-fixTristan Sloughter2015-05-211-3/+27
|\ \ | | | | | | Properly setup namespace for dependency provider hooks
| * | Initialize namespace in rebar_state with default value.Viacheslav Kovalev2015-05-221-3/+27
| | |
* | | update stable_lock test from Fred's branchTristan Sloughter2015-05-212-13/+13
| | |
* | | Add tests for lock forwardingFred Hebert2015-05-211-2/+82
|/ / | | | | | | | | | | | | | | | | | | Lock forwarding is what happens when the file on disk are on a different version from what is specified in the lock file. Files on disk should be updated to respect what's in the lock file. A negative test has been added so that lock files that are outdated vis. the underlying git and packages but match files on disk do not get forwarded. This job is left to the `upgrade' command.
* | Merge pull request #443 from kovyl2404/singleapp-project-duplicated-hookFred Hebert2015-05-211-2/+13
|\ \ | | | | | | Run hooks for single application only once.
| * | Properly reset hooks for single-app projectViacheslav V. Kovalev2015-05-211-2/+13
| |/
* | methods for retrieving `src_dirs` and `extra_src_dirs`alisdair sullivan2015-05-191-0/+99
| | | | | | | | | | | | note that now ALL `src_dirs` across included profiles are compiled. previously only the last included profile's `src_dirs` were used