Badlop
1a63443e02
rebar.config.script: Support relaxed dependency version ( #4192 )
...
Instead of adding another element to the tuple, let's reuse the second
element, which was used only by rebar2, and always has ".*" as value.
2024-04-22 18:28:34 +02:00
Paweł Chmielowski
537aac24f7
Improve detection of types in odbc
...
This should fix issue with dialyzer on erlang 26.2.3+
2024-03-18 14:54:32 +01:00
Badlop
0b37d50dac
rebar.config.script: Don't check REBAR_PROFILE here
...
To get release with development tools,
don't check rebar profile here.
Instead, use "./configure --enable-tools" and it will be
checked in ejabberd.app.src.script
2024-02-21 16:46:37 +01:00
Badlop
589521bfd8
Update copyright year to 2024 ( #4139 )
2024-01-22 17:29:13 +01:00
Badlop
16f758e13f
Support to provide only the dependency name
...
This is used in ejabberd-contrib repository's ci.yml,
and useful for a custom development that doesn't require rebar2 support.
2023-06-12 20:48:47 +02:00
Badlop
243697e25a
Update copyright year to 2023 ( #3967 )
2023-01-10 13:52:04 +01:00
Badlop
b3211b1f71
Update copyright year to 2022
2022-02-11 09:39:25 +01:00
Badlop
3f4423e996
Use P1's coveralls-erl fork to handle unicode in git commit author
2021-12-07 01:33:16 +01:00
Badlop
774de2bdc5
Include odbc app in release only when required ( #3633 )
2021-06-27 17:32:09 +02:00
Badlop
0fe2aea709
New "make dev" and "./ejabberdctl" (requires using rebar3)
2021-06-25 12:53:43 +02:00
Badlop
d5adcaea61
Add support for rebar3 to "make rel"
2021-06-25 12:53:22 +02:00
Badlop
2b0d724aef
Workaround so coveralls website shows git commit information
...
References:
https://github.com/markusn/coveralls-erl/pull/36
https://github.com/deadtrickster/prometheus.erl/pull/123
2021-06-06 16:56:29 +02:00
Badlop
77ef03e104
New ci.yml with all static and dynamic testing suites ( #3613 )
...
It supports all that was already in .travis.yml and tests.yml, plus:
- exclude paths that don't affect source code
- two very distinct scenarios, ancient a recent (OTP, Rebar, Ubuntu)
- cache binaries and dialyzer for small speedup and network usage
- separated results, to view comfortably where and what failed
- use coveralls example rebar3 code, instead of custom rebar2
- upload binaries.zip that can be used with Binary Installers
2021-05-25 18:45:31 +02:00
Badlop
a51e777c56
Try to fix coveralls report in Travis, related to commit 2f3f6f8b7
2021-02-04 11:27:47 +01:00
Badlop
6e0161470e
Update newest copyright year to 2021 ( #3464 )
2021-01-27 17:02:06 +01:00
Neustradamus
34f9eaa8e9
Remove .git ending from links
...
Remove .git ending from links
2021-01-13 03:22:41 +01:00
Stu Tomlinson
d9feed54a9
Add 'gitonly_deps' list to rebar config/script ( #3391 )
...
Add list of dependencies that should only be built from git, to support
building with rebar3 where deps do not have hex packages (or where the
package versions do not directly map to git tags).
This is required for elixir and luerl deps.
2020-09-21 13:49:58 +02:00
Paweł Chmielowski
151b818af4
Use compilation flags used during build to compile modules in ext_mod
...
This fixes issue #3178
2020-03-03 11:25:17 +01:00
Badlop
2d32c66fd7
Update copyright to 2020 ( #3149 )
2020-01-28 15:49:23 +01:00
Paweł Chmielowski
eb6449506f
Use tagged version of coveralls
2020-01-17 08:59:10 +01:00
Paweł Chmielowski
f0bbc05b7a
Make sure that configure is run before pc:compile on rebar3
2019-07-12 15:00:12 +02:00
Badlop
f0cf63de15
Manually update 2017 copyright dates ( #2756 )
2019-01-08 22:52:26 +01:00
Paweł Chmielowski
719dfe12f6
Use named functions instead of carrying self as argument
2018-01-29 10:02:20 +01:00
Paweł Chmielowski
a7639fd4ad
Call configure on deps in separate rebar command that compile
...
This way we rebar.config.script can use vars detected by configure
2018-01-15 12:31:47 +01:00
Paweł Chmielowski
99f8e58eaf
Use override syntax that rebar3 accepts
2018-01-15 11:56:20 +01:00
Paweł Chmielowski
e1da673502
Fix detection of rebar3
...
Looks like sometimes rebar3 report version that can't be split to 3 fields
by '.', we need only first one so don't match the rest
2018-01-12 17:12:46 +01:00
Paweł Chmielowski
7d58b7a100
Improve resolving of system deps
...
This version is able to search for know alternative names of deps and
helps with running tests when using system deps
2018-01-12 16:16:12 +01:00
Paweł Chmielowski
d0bfcbbfd8
Handle error case from code:lib_dir in ResolveDepPath in rebar.config.script
2018-01-10 16:34:16 +01:00
Paweł Chmielowski
9b8ae80dab
Improve --enable-system-deps
2017-10-30 13:55:10 +01:00
Paweł Chmielowski
05feab35c4
Call earlier deps configure scripts durring compilation
2017-09-26 17:32:37 +02:00
Paweł Chmielowski
f773edcb98
Override version of subdeps with version from main rebar.config
2017-06-07 16:06:28 +02:00
Paweł Chmielowski
5d3870faa3
Add --enable-system-deps configure option
2017-05-31 11:30:34 +02:00
Evgeniy Khramtsov
061d5f2380
Shut up dialyzer/xref if public_key:short_name_hash/1 is not available
2017-05-13 13:11:08 +03:00
Paweł Chmielowski
b9cd5ca07f
Resolve vars.config relative to to rebar.config.script
...
This fixes problem with missing deps in make rel - issue #1615
2017-03-20 18:28:49 +01:00
Paweł Chmielowski
63da351038
Fix handling of config.ctc files
2017-02-14 14:39:24 +01:00
Paweł Chmielowski
dd458c637e
Floating deps should always be executed
...
This fixes problem with recognizing latest_deps configure option
2017-01-29 12:14:32 +01:00
Paweł Chmielowski
2f3f6f8b71
Improve compilation with rebar3
2017-01-26 16:45:04 +01:00
Paweł Chmielowski
a284722fd0
Adapt to coveralls api change
2017-01-24 19:16:50 +01:00
Badlop
5fdd1c39fe
Update copyright date automatically ( #1442 )
2017-01-02 21:42:06 +01:00
Christophe Romain
ed679279fd
Cleanup file headers
2016-12-27 10:57:50 +01:00
Paweł Chmielowski
28d0a1b9d2
Make compatible with rebar3
2016-11-24 14:23:20 +01:00
Paweł Chmielowski
d00a634025
Fix includes in eunit compilation flags
2016-11-18 14:02:47 +01:00
Paweł Chmielowski
5458d8bfcb
Add else branch to if_version_{above,below}
2016-07-20 10:11:34 +02:00
Paweł Chmielowski
7748dd4e5d
Make processing of if_* clauses in rebar.config recursive
2016-07-20 10:11:08 +02:00
Paweł Chmielowski
9c27f31d72
Process cover information on travis only if cover support is enabled
2016-05-31 12:12:46 +02:00
Paweł Chmielowski
db240413ab
Disable cover analyzys on R17 as this causes problems with elixir tests
2016-05-31 11:29:19 +02:00
Mickael Remond
ef04dd75aa
Add Coveralls support
2016-03-21 12:01:20 +01:00
Badlop
f448ff608a
Update copyright to 2016 ( #901 )
2016-01-13 12:29:14 +01:00
Paweł Chmielowski
6d8263df15
Extract deps from rebar.config to use in reltool.config.script
2016-01-07 14:11:16 +01:00
Paweł Chmielowski
99fdba0745
Convert rebar.config.script to more declarative format
2015-12-18 17:20:41 +01:00