Fred Hebert
62ffde8e2a
Merge pull request #1963 from ferd/swap-builder-dep-order
Fix load order for custom project builders and parse transforms
před 6 roky
Fred Hebert
c0957db49b
Review comments addressed
před 6 roky
Tristan Sloughter
73bf5b4c05
fix for mix projects that don't have app.src files ( #1964 )
před 6 roky
Fred Hebert
fc9b11afca
Clear app details cache before checking in paths
The app data, when set by `rebar3_app_discover` basically does not
include the modules if it was derived from the .app.src file, even if at
a later point the modules were compiled.
Since there is currently no clear way to add that information reliably
across all compiler versions in all types of compilers, we simply clear
the cache and re-derive the information when required.
This might have a small performance cost, but is required for
correctness whenever an application's first build is run. Specifically,
this bug was detected when a plugin included lager's parse transform,
and the application itself also required it, but two distinct versions
were needed.
This patch finalizes fixing this issue.
před 6 roky
Fred Hebert
6aaa54c6d1
Ensure the right deps are in path
Compile time with parse transforms needs to have the deps first in scope
before the plugins
před 6 roky
Fred Hebert
d425b4e4ba
Fix load order for custom project builders
Due to building dependencies with potential artifacts such as parse
transforms or macros, project builder plugins should be included in the
path, but _after_ deps are loaded.
Doing otherwise means that if any of the dependencies is required at
compile time, those of a plugin might get used first.
před 6 roky
Fred Hebert
531dce6441
back to git based versioning
před 6 roky
Fred Hebert
b562a893f8
Bump to 3.7.5
před 6 roky
Fred Hebert
ebc1186c34
Merge pull request #1957 from tsloughter/subdir-behaviours
search subdirectories as well for imports/transforms/behaviours
před 6 roky
Fred Hebert
44f74dc01e
Merge pull request #1959 from ferd/fix-cover-paths
Fix path coverage loading artifacts
před 6 roky
Fred Hebert
f2d556d0b9
Merge pull request #1949 from aronisstav/add-more-help-hint
Add hint for `rebar3 new help` on `rebar3 help new`
před 6 roky
Fred Hebert
d0cc8e57d7
Fix path coverage loading artifacts
The old path handling routine would force loading a bunch of
applications, but it did not necessarily unload them aside from specific
calls that the other test handlers used to need to do, but no longer
needed under the updated path management of 3.7.0.
The leftover calls in the cover compilation bits caused some apps to be
loaded and to remain loaded before tests started.
před 6 roky
Tristan Sloughter
8c4a74a3ed
search subdirectories as well for imports/transforms/behaviours
před 6 roky
Tristan Sloughter
99a7b7ea36
back to git versioning
před 6 roky
Tristan Sloughter
0907ccea9a
version bump 3.7.4
před 6 roky
Tristan Sloughter
d50b70a44d
revert ebin_modules to include all beams minus extra_src ( #1955 )
před 6 roky
Fred Hebert
f450eb3940
Back to git-based versioning
před 6 roky
Fred Hebert
fc20a94660
Properly bump to 3.7.3
před 6 roky
Fred Hebert
0192c7439c
Bump to 3.7.3
před 6 roky
Fred Hebert
1d23e75aab
Merge pull request #1954 from tsloughter/base-run
fix base_compiler:run to take a single directory
před 6 roky
Tristan Sloughter
1071a96735
fix base_compiler:run to take a single directory
před 6 roky
Fred Hebert
a057f0ee8e
Back to git-based versioning
před 6 roky
Fred Hebert
153371ce7c
bump to 3.7.2
před 6 roky
Fred Hebert
515283ab1c
Merge pull request #1953 from tsloughter/subdirs-modules
fix to include beams built from src files in subdirs in modules list
před 6 roky
Tristan Sloughter
a90f84a7a6
fix to include beams built from src files in subdirs in modules list
před 6 roky
Tristan Sloughter
86922f0636
back to git versioning
před 6 roky
Tristan Sloughter
093792ba18
bump to 3.7.1
před 6 roky
Tristan Sloughter
37fdc7e515
fix base path used for yrl/xrl includefile configs ( #1952 )
před 6 roky
Fred Hebert
84d48ac09b
Back to git-based versioning
před 6 roky
Fred Hebert
78ef63b033
Bump to 3.7.0
Signed-off-by: Fred Hebert <mononcqc@ferd.ca>
před 6 roky
Fred Hebert
0fcf0e0c29
Merge pull request #1951 from ferd/fix-compiler-behaviour-spec
Fix typespecs of new compiler behaviour
před 6 roky
Fred Hebert
5b51f3cf59
Fix typespecs of new compiler behaviour
před 6 roky
Fred Hebert
c2076a6138
Merge pull request #1950 from ferd/update-manpages
Updating manpages before 3.7.0
před 6 roky
Fred Hebert
23dbacaba7
Updating manpages before 3.7.0
před 6 roky
Stavros Aronis
74f1de612c
Add hint for `rebar3 new help` on `rebar3 help new`
před 6 roky
Fred Hebert
9c24f55872
Merge pull request #1938 from erlang/xrl-yrl-recompile
check last modified time on erl files for xrl and yrl files before compiling
před 6 roky
Tristan Sloughter
beb8878a6c
fix needed_files type spec
před 6 roky
Fred Hebert
62663bc0ba
Merge pull request #1942 from aboroska/fix-plugins-list
Fix plugins list display to include project plugins
před 6 roky
Fred Hebert
b8665dd081
Merge pull request #1941 from tothlac/1940
Support alias format {Namespace, Cmd} and {Namespace, Cmd, Args} (#1940 )
před 6 roky
tothlac
5facb035fe
Support alias format {Namespace, Cmd} and {Namespace, Cmd, Args} ( #1940 )
před 6 roky
András Boroska
5944b14f57
Fix package upgrade (issue #1945 ) ( #1946 )
před 6 roky
Fred Hebert
cad1da8769
Merge pull request #1844 from simonxu72/master
add git clone --reference path support
před 6 roky
simonxu72
4014faf695
merge from upstream/master
před 6 roky
András Boroska
7dd8545e52
Fix plugins list display to include project plugins
před 6 roky
Fred Hebert
d0e9a55346
Merge pull request #1939 from getong/fix_install_output
fix install output result
před 6 roky
getong
374f23c580
fix install output result
před 6 roky
Tristan Sloughter
8d31d559c1
check last modified time on erl files for xrl and yrl files before compiling
před 6 roky
Tristan Sloughter
60dc0504bf
fix compilation of global plugins ( #1935 )
před 6 roky
Fred Hebert
83d01b5249
Merge pull request #1929 from Raphexion/raphexion/ignore-emacs-temp-files
templates/gitignore ignore emacs temp files
před 6 roky
Niklas Johansson
f0826929de
templates/gitignore ignore emacs temp files
emacs creates temp files that ends with tilde (~).
These temp files should never be commited.
It is therefore safe to ignore them.
Signed-off-by: Niklas Johansson <raphexion@gmail.com>
před 6 roky