Tristan Sloughter
210178318c
add comment on why plugins list uses checkouts_dir not checkouts_out_dir
hace 5 años
Tristan Sloughter
1f9dfd8048
remove test that never did anything
All this ever checked was that the app was created in _checkouts
by the test code. Not really useful.
hace 5 años
Tristan Sloughter
4264f80e0e
have checkouts test look for apps in the checkouts out dir
hace 5 años
Tristan Sloughter
2457d43576
add checkouts out dir directory to rebar_dir and use it in app utils
hace 5 años
Tristan Sloughter
d87b68b413
output checkouts compilation to _build/<profile>/checkouts/
hace 5 años
Fred Hebert
db99550f25
Merge pull request #2272 from robertoaloi/fix-typo
Fix typo in abort message
hace 5 años
Fred Hebert
e64364aec8
Merge pull request #2271 from ferd/test-bare-hooks
bare compiler hooks do work and this shows it.
hace 5 años
Roberto Aloi
ffc5b9f81f
Fix typo in abort message
hace 5 años
Fred Hebert
1e8ce22e1e
bare compiler hooks do work and this shows it.
I had misread the code in issue #2200 -- the per-app hooks are still
run, just not the umbrella-level hooks.
hace 5 años
Tristan Sloughter
b3c2988f98
Merge pull request #2269 from tsloughter/setup-nightly
use setup-erlang instead of container for github action nightly
hace 5 años
Tristan Sloughter
adac0604ad
use checkout v2 in publish github action
hace 5 años
Tristan Sloughter
10bd7fbd23
use actions/checkout version 2 in main github action
hace 5 años
Tristan Sloughter
f5875e0b71
use setup-erlang instead of container for github action nightly
hace 5 años
Fred Hebert
c4acad1d8c
Merge pull request #2268 from ferd/bump-certifi-2.5.2
Newer version; a good thing to keep up
hace 5 años
Fred Hebert
00c3342a87
Newer version; a good thing to keep up
hace 5 años
Fred Hebert
aae3e3d22e
Merge pull request #2265 from ferd/track-vsn-in-escript
Annotate generated escript with last release
hace 5 años
Fred Hebert
488b167ec4
Annotate generated escript with last release
End result should allow to look like this:
$ head -n 3 rebar3
#!/usr/bin/env escript
%% Rebar3 3.14.0-rc1
%%! +sbtu +A1
This will allow tools like mix to read the top of the file to know the
version being used in the current path (when using features that aren't
forwards-compatible) without having to invoke the tool itself.
The version (full dynamic one) is also added to the local install:
$ head -n 2 /home/ferd/.cache/rebar3/bin/rebar3
#!/usr/bin/env sh
## Rebar3 3.14.0-rc1+build.4599.ref6b0f90d
The `##` comments are used to keep a fixed width over the other form.
To be backported to 3.13.2 as well.
hace 5 años
Fred Hebert
226ef342f2
Merge pull request #2249 from max-au/max-au/dialyze-one-app
rebar3 dialyzer support: single-app success typing, project apps in PLT
hace 5 años
Tristan Sloughter
50d17a62f0
Merge pull request #2263 from tsloughter/heart-fix
upgrade relx lock to include heart fix
hace 5 años
Tristan Sloughter
94796673fc
upgrade relx lock to include heart fix
hace 5 años
Fred Hebert
aaf5844d1e
Merge pull request #2262 from reganheath/improve_windows_script
Simplify windows script
hace 5 años
Regan Heath
58a40f156b
Simplify windows script
hace 5 años
Tristan Sloughter
19ee2fbb19
Merge pull request #2261 from tsloughter/osx-cirrus
move 'nightly' publishing to github actions and use cirrus only for OSX
hace 5 años
Tristan Sloughter
1b74868f09
split nightly into its own workflow
hace 5 años
Tristan Sloughter
a6472156da
move 'nightly' publishing to github actions and use cirrus only for OSX
hace 5 años
Tristan Sloughter
19b646f483
fix cirrus nightly_task to use otp 19
hace 5 años
Tristan Sloughter
0a944209e9
use event upload_url for release publishing
hace 5 años
Tristan Sloughter
a6795958a0
back to git-based versioning
hace 5 años
Tristan Sloughter
11936db9a8
Merge pull request #2259 from tsloughter/relx-4-1
prepare for 3.14.0-rc1
hace 5 años
Tristan Sloughter
99523bc171
keep debug_info in test to satisfy osx perms
hace 5 años
Tristan Sloughter
783b63ac3c
bump version to 3.14.0-rc1
hace 5 años
Tristan Sloughter
e8af16ebd8
upgrade to relx tag 4.0.0-rc1 and version to 3.14-rc1
hace 5 años
Tristan Sloughter
a6af83710f
remove cirrus release publishing to s3
hace 5 años
Tristan Sloughter
a2a0b08e01
add github workflows for build, test and publishing
hace 5 años
Tristan Sloughter
d7985ccf00
do not depend on release provider for tar task
hace 5 años
Tristan Sloughter
4ec2b3446b
set relx mode based on rebar3 profile
hace 5 años
Tristan Sloughter
9076a483cf
Merge pull request #2257 from tsloughter/relx-4
initial relx 4.0 support
hace 5 años
Tristan Sloughter
5f03505eba
initial support for relx 4.0.0
This commit switches the relx dependency to branch 4.0.0. It is the
first iteration of integration with relx 4.0 which adds many changes
to how relx works and how the two integrate.
rebar_relx module now creates a relx state from the relx configuration
and pass it along with all the OTP applications rebar3 knows about
which may be used in the release. This allows relx to not have
to duplicate the effort of application discovery like before.
Since this is intended to be released only when OTP-23 is released
the testing of OTP-18 has been removed.
hace 5 años
Fred Hebert
b639fca976
Merge pull request #2246 from ferd/dag-artifact-tracking
Track build artifacts in DAG
hace 5 años
Fred Hebert
cddb3fbd18
Quick topsort optimizations
- topsort of an app does a full analysis of all apps to come up with
their app-level DAG
- each extra_src_dir has its own analysis run
- each extra_src_dir run is simulated as being an app
- we therefore end up doing a lot of useless analysis for single app
runs
This patch notes runs with 1 or 0 apps and skips doing the topsort
analysis on them, which speeds things up further.
hace 5 años
Fred Hebert
0e82efe955
Merge pull request #2251 from pablocostass/fix_bare_compiler_when_no_apps_found
Return an error if no apps are found when using bare compiler
hace 5 años
Fred Hebert
3bdebe123c
Merge pull request #2250 from pablocostass/xref_improvements_relative_path
xref improvements: now outputs relative file paths
hace 5 años
Pablo Costas
51f98b5bf4
Return an error if no apps are found when using bare compiler
Would close erlang#2202. In case of no apps found when calling
`rebar_state:project_apps(State)` rebar3 now throws an error with
a warning.
hace 5 años
Pablo Costas
8c13eacfaf
Revert defaults on xref
hace 5 años
Fred Hebert
fd05799593
Merge pull request #2 from max-au/max-au/fix-parallel-compile
fix parallel compilation
hace 5 años
Fred Hebert
9ba63836ae
dangling fixes
hace 5 años
Pablo Costas
a0bbb69254
xref improvements: now outputs relative file paths
Closes #2108 . Changes the path to be printed to a relative path
to the current directory.
Also removes the `exports_not_used` warning from the default ones,
as Tristan suggested.
hace 5 años
Maxim Fedorov
9699409d32
correct fix for parallel compile
Also fixes artifacts left on filesystem, and produces less
filelib:last_modified() checks.
hace 5 años
Maxim Fedorov
6fe40d0d34
fix parallel compilation
now all sources have at least one edge with 'artifact' label,
let's ignore it when choosing whether to compile in parallel
or sequentially
hace 5 años
Fred Hebert
b3fd2ed705
Merge pull request #2248 from pablocostass/symlink_to_last_ct_logs
Add symlink to the `ct_run` of the last common test run
hace 5 años