summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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
* | Merge pull request #441 from tsloughter/global_pluginsFred Hebert2015-05-192-3/+71
|\ \ | |/ |/| install plugins from the global config to ~/.cache/plugins
| * install plugins from the global config to ~/.cache/pluginsTristan Sloughter2015-05-172-3/+71
| |
* | generalize the "test" special dir into an {extra_src_dirs, [...]} optionalisdair sullivan2015-05-161-0/+152
|/ | | | | | like `src_dirs`, `extra_src_dirs` are directories to be copied to the `_build` dir and compiled. unlike `src_dirs` they are not added to the .app specification
* patch testsTristan Sloughter2015-05-141-6/+0
|
* More package management testsFred Hebert2015-05-131-12/+125
|
* Proper custom pkg index support, some testsFred Hebert2015-05-134-0/+100
| | | | | | | | | | - The rebar package index files have been moved off the default path and will require a new `rebar3 update` - Caching of downloaded packages automatically takes place in a path relative to the CDN used - The cache path is not shared with hex as we now write and modify data in there arbitrarily - Basic tests plus the working set for more of them is included
* Update mock so existing tests passFred Hebert2015-05-131-3/+8
|
* Merge pull request #409 from talentdeficit/ct_fixTristan Sloughter2015-05-091-2/+34
|\ | | | | delete all symlinks when copying from project files to `_build` tree to prevent any data from being overwritten
| * delete all symlinks when copying from project files to `_build` treealisdair sullivan2015-05-091-2/+34
| | | | | | | | | | | | to prevent any data from being overwritten fixes #395
* | Adding directory path test for deduplicationFred Hebert2015-05-041-0/+18
| |
* | Merge branch 'app-discover-profile-duplication' of ↵Fred Hebert2015-05-041-0/+132
|\ \ | | | | | | | | | https://github.com/kovyl2404/rebar3 into kovyl2404-app-discover-profile-duplication
| * \ Merge branch 'master' into app-discover-profile-duplicationViacheslav V. Kovalev2015-05-0110-24/+235
| |\ \ | | | | | | | | | | | | | | | | Conflicts: test/rebar_profiles_SUITE.erl
| | * | don't load package registry unless there are pkg deps to solveTristan Sloughter2015-04-282-3/+3
| | | |
| * | | Revert accidentially changed formattingViacheslav V. Kovalev2015-04-221-3/+2
| | | |
| * | | Get rid of rebar_utils:tup_umerge/2 patchingViacheslav Kovalev2015-04-221-13/+3
| | | |
| * | | Implement opts umerge deduplicationViacheslav Kovalev2015-04-222-22/+55
| | | |
| * | | Implement some test on profiles deduplicationViacheslav V. Kovalev2015-04-222-2/+113
| | |/ | |/|
* | | Merge pull request #379 from tsloughter/rm_erlydtlFred Hebert2015-05-011-72/+0
|\ \ \ | | | | | | | | Remove erlydtl and replace with mustache
| * | | remove use of erlydtl in rebarTristan Sloughter2015-04-291-72/+0
| | |/ | |/|
* | | enable parse transformations in rebar configTristan Sloughter2015-04-263-5/+28
|/ /
* | handle transitive deps being promotedFred Hebert2015-04-241-2/+13
| |
* | R15 support, replace unsetenv with putenv empty stringTristan Sloughter2015-04-221-1/+1
| |