summaryrefslogtreecommitdiff
path: root/rebar.config.sample
Commit message (Collapse)AuthorAgeFilesLines
* update sample config to remove unsupported rebar2 optionsTristan Sloughter2015-03-081-104/+2
|
* Add documentation for {ref, <sha>} syntax rebar.config.sample fileJared Morrow2015-02-061-0/+2
| | | | Addresses: #130
* Merge pull request #285 from nevar/fix_inheritanceTristan Sloughter2014-06-151-1/+1
|\ | | | | Fix #249 (erlc regression)
| * Fix #249 (erlc regression)Slava Yurin2014-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The combination of changes to rebar_erlc_compiler, and the fact that erl_first_files is inherited, caused a regression. To fix that, ensure every project uses its own .rebar/erlcinfo. While at it, fix the issue that erl_first_files entries were not included when initializing the dep digraph. Reported-by: Louis-Philippe Gauthier Reported-by: Roland Karlsson Thanks: Tuncer Ayaz
* | Add 'p4' (Perforce) as a dependency typeNathaniel Waisbrot2014-03-171-2/+3
|/ | | | | | | 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
* Fix #56 (always-on recursion)Tuncer Ayaz2014-03-111-0/+3
| | | | | | | | | | | | | | | | | | Always-on recursive application of all rebar commands causes too many issues. Recursive application is required for: 1. dealing with dependencies: get-deps, update-deps, and compile of deps right after get-deps or update-deps 2. projects with a riak-like apps/ project structure and dev process The vast majority of projects are not structured like riak. Therefore, moving forward it's best to (by default) restrict recursive behavior to dealing with deps. This commit does that and also adds command line and rebar.config options for controlling or configuring recursion. Also, we introduce two meta commands: prepare-deps (equivalent to rebar -r get-deps compile) and refresh-deps (equivalent to rebar -r update-deps compile). riak-like projects can extend the list of recursive commands (to include 'eunit' and 'compile') by adding {recursive_cmds, [eunit, compile]} to rebar.config.
* introduce xref_extra_pathsmats cronqvist2014-01-131-0/+5
|
* Add missing dep examples and fix existing onesTuncer Ayaz2013-11-261-6/+19
|
* rebar_xref: regression fixes and updates for a5be40c96Tuncer Ayaz2013-06-241-1/+3
| | | | | | | | - restore support for "rebar help xref" - update rebar.config.sample - update 'help xref' string - simplify new/changed functions by breaking out code or using simpler syntax where applicable
* Update rebar repo urlsTuncer Ayaz2013-03-021-2/+2
|
* Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msgTuncer Ayaz2012-12-311-2/+2
| | | | | * allow plugins to print help message for implemented commands * append core rebar.config options to common 'rebar help' message
* rebar.config.sample: fix escript_emu_args sampleTuncer Ayaz2012-11-301-1/+1
|
* rebar.config.sample: remove non-existing optionTuncer Ayaz2012-11-201-5/+0
|
* rebar.config.sample: document escriptize optionsTuncer Ayaz2012-11-191-0/+7
|
* rebar.config: delete unused and unimplemented 'app_bin' optionTuncer Ayaz2012-11-191-3/+0
| | | | | app_bin option was used by the install command which has been removed in 51ed787.
* rebar.config.sample: document leex and yecc optionsTuncer Ayaz2012-11-181-0/+12
|
* rebar.config.sample: document require_*_vsn optionsTuncer Ayaz2012-11-181-0/+5
|
* rebar.config.sample: fix erl_opts exampleTuncer Ayaz2012-11-151-1/+3
|
* rebar.config.sample: fix raw dep example formattingTuncer Ayaz2012-11-151-10/+13
|
* rebar.config.sample: fix syntax errorTuncer Ayaz2012-11-141-1/+1
|
* Add support for non-Erlang/OTP (raw) dependenciesAnton Lavrik2012-10-111-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | Introduce a new 'raw' option for dependency specs in rebar.config file. For example: {deps, {dependency_name, "1.0.*", {git, "<...>", {branch, "master"}}, [raw] } ]}. When this option is specified, rebar does not require the dependency to have a standard Erlang/OTP layout which assumes presence of either "src/dependency_name.app.src" or "ebin/dependency_name.app" files. 'raw' dependencies can still contain 'rebar.config' and even can have the proper OTP directory layout, but they won't be compiled. Only a subset of rebar commands will be executed on the 'raw' subdirectories: get-deps, update-deps, check-deps, list-deps and delete-deps.
* Document availability of rsync for fetching deps in rebar.config.sampleDaniel White2012-09-201-1/+2
|
* Separate eunit and qc compile optionsTuncer Ayaz2012-08-091-7/+14
|
* Add ct_log_dir option, skip test dir with no SUITEDeadZen2012-08-071-0/+3
| | | | | | | When rebar ct executes with its default common test directory of "test", it will generate a hardcoded "logs" directory in every application with a test directory present, causing an overlap with eunit's test framework so even test directories with only eunit tests will be processed by ct.
* Enable export of cover data from eunit testrunDavid Ã…berg2012-08-071-0/+3
|
* Rename old eunit compile options for consistency with test-compileTuncer Ayaz2012-07-261-6/+7
|
* Add 'qc' cmd and rename eunit-compile to test-compileTuncer Ayaz2012-07-231-0/+5
|
* Support ct_run using short nameTim Watson2012-05-221-0/+3
| | | | | | | | | | | Not every system under test can be run with long names, and this makes rebar's common_test support useless in those environments, as it currently uses long names (test@hostname.domain) by default, without recourse to change them. This patch adds support for a {ct_use_short_names, boolean()} config variable, which allows the user to specify whether short or long names are required.
* Remove alt_url support in favor of new featuresTuncer Ayaz2012-05-131-4/+1
|
* Add support for target-specific port optionsTuncer Ayaz2012-04-161-2/+4
| | | | {port_specs, [{".*", "priv/foo.so", ["c_src/foo.c"], [{env, []}]}]}.
* Fix whitespace errorTuncer Ayaz2012-04-151-2/+2
|
* Add support for custom xref queriesAmit Kapoor2012-04-021-0/+10
| | | | | | | | | | | | | | | | | | The custom queries are configured in rebar.config via the tuple {xref_queries, [{query(), query_result()},...]}. The implementation passes the query() string to xref:q and compares the return value with query_result(). It will result in an error if they do not match. The following configuration, for example, is the same as running the xref check undefined_function_calls. It additionally filters ejabberd_logger:*_msg/4 from the result as these functions are generated on execution by ejabberd and not available at compile time. {xref_queries, [{"(XC - UC) || (XU - X - B - (\"ejabberd_logger\":\".*_msg\"/\"4\"))",[]}]}. This patch also modifies the build process of this package by running a custom query instead of doing a diff against a static xref_warning file.
* Add support for alternate dependency urlsAdam Schepis2012-03-311-1/+4
| | | | | | This change adds the ability to use alternate urls for downloading dependencies. To make use of alternate urls run: rebar get-deps alt_urls=true
* Deprecate port_envs in favor of port_envTuncer Ayaz2012-03-091-1/+1
|
* Rework port compiler supportTuncer Ayaz2012-02-031-12/+6
| | | | | * consolidate options * add support for building executables
* Fix whitespace error in rebar.config.sampleTuncer Ayaz2012-01-291-1/+1
|
* Remove port_first_files supportTuncer Ayaz2012-01-091-3/+0
|
* Add support for customising common test directoryTim Watson2011-12-281-0/+3
| | | | | | | This patch allows users to specify the directory in which common_test source files can be found. Most common_test suites are integration, rather than unit tests and keeping the sources apart from test sources for other frameworks such as eunit and PropEr is a useful feature.
* Update sample hooks configTuncer Ayaz2011-12-051-1/+4
|
* Document port_first_filesTuncer Ayaz2011-11-301-0/+3
|
* Fix deps_dir sample configTuncer Ayaz2011-10-261-2/+2
|
* Load plugins dynamically from sourceTim Watson2011-08-291-0/+13
| | | | | | | | | This patch updates rebar_core to look for missing plugins (i.e. those that aren't found on the code path at runtime) in a configurable plugin directory, and dynamically compile and load them at runtime. By default, the directory "plugins" is searched, although this can be overriden by setting the plugin_dir in your rebar.config.
* Fix typo: 'dependency'Uwe Dauernheim2011-08-211-2/+2
|
* Remove rebar_dialyzerjoewilliams2011-06-061-8/+0
|
* Change arch-specific port_sources to take a listAndrew Tunnell-Jones2011-05-281-2/+5
| | | | | | | | | | Change the second parameter of a regex tagged port_source from being a filename or wildcard to being a list of filenames or wildcards. Previously: {"R14", "c_src/*.c"} Now: {"R14", ["c_src/*.c"]} Motivation for change is to avoid repeating regexes.
* Document so_specsTuncer Ayaz2011-04-301-0/+4
|
* Remove lfe_opts (suggested by Tim Dysinger)Tuncer Ayaz2011-04-111-2/+1
|
* Pass extra params to ct (thanks Mickael Remond)Tim Watson2011-04-061-0/+5
| | | | | This patch adds a `ct_extra_params` option to rebar.config, the value of which is appended to the shell command when executing common test.
* Document xref optionsTuncer Ayaz2011-04-061-0/+6
|
* Make debug_info defaultTuncer Ayaz2011-03-301-1/+1
| | | | | Add no_debug_info option. Remove debug_info=1 option.