Fred Hebert
c0957db49b
Review comments addressed
6 years ago
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.
6 years ago
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
6 years ago
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.
6 years ago
Fred Hebert
531dce6441
back to git based versioning
6 years ago
Fred Hebert
b562a893f8
Bump to 3.7.5
6 years ago
Fred Hebert
ebc1186c34
Merge pull request #1957 from tsloughter/subdir-behaviours
search subdirectories as well for imports/transforms/behaviours
6 years ago
Fred Hebert
44f74dc01e
Merge pull request #1959 from ferd/fix-cover-paths
Fix path coverage loading artifacts
6 years ago
Fred Hebert
f2d556d0b9
Merge pull request #1949 from aronisstav/add-more-help-hint
Add hint for `rebar3 new help` on `rebar3 help new`
6 years ago
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.
6 years ago
Tristan Sloughter
8c4a74a3ed
search subdirectories as well for imports/transforms/behaviours
6 years ago
Tristan Sloughter
99a7b7ea36
back to git versioning
6 years ago
Tristan Sloughter
0907ccea9a
version bump 3.7.4
6 years ago
Tristan Sloughter
d50b70a44d
revert ebin_modules to include all beams minus extra_src ( #1955 )
6 years ago
Fred Hebert
f450eb3940
Back to git-based versioning
6 years ago
Fred Hebert
fc20a94660
Properly bump to 3.7.3
6 years ago
Fred Hebert
0192c7439c
Bump to 3.7.3
6 years ago
Fred Hebert
1d23e75aab
Merge pull request #1954 from tsloughter/base-run
fix base_compiler:run to take a single directory
6 years ago
Tristan Sloughter
1071a96735
fix base_compiler:run to take a single directory
6 years ago
Fred Hebert
a057f0ee8e
Back to git-based versioning
6 years ago
Fred Hebert
153371ce7c
bump to 3.7.2
6 years ago
Fred Hebert
515283ab1c
Merge pull request #1953 from tsloughter/subdirs-modules
fix to include beams built from src files in subdirs in modules list
6 years ago
Tristan Sloughter
a90f84a7a6
fix to include beams built from src files in subdirs in modules list
6 years ago
Tristan Sloughter
86922f0636
back to git versioning
6 years ago
Tristan Sloughter
093792ba18
bump to 3.7.1
6 years ago
Tristan Sloughter
37fdc7e515
fix base path used for yrl/xrl includefile configs ( #1952 )
6 years ago
Fred Hebert
84d48ac09b
Back to git-based versioning
6 years ago
Fred Hebert
78ef63b033
Bump to 3.7.0
Signed-off-by: Fred Hebert <mononcqc@ferd.ca>
6 years ago
Fred Hebert
0fcf0e0c29
Merge pull request #1951 from ferd/fix-compiler-behaviour-spec
Fix typespecs of new compiler behaviour
6 years ago
Fred Hebert
5b51f3cf59
Fix typespecs of new compiler behaviour
6 years ago
Fred Hebert
c2076a6138
Merge pull request #1950 from ferd/update-manpages
Updating manpages before 3.7.0
6 years ago
Fred Hebert
23dbacaba7
Updating manpages before 3.7.0
6 years ago
Stavros Aronis
74f1de612c
Add hint for `rebar3 new help` on `rebar3 help new`
6 years ago
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
6 years ago
Tristan Sloughter
beb8878a6c
fix needed_files type spec
6 years ago
Fred Hebert
62663bc0ba
Merge pull request #1942 from aboroska/fix-plugins-list
Fix plugins list display to include project plugins
6 years ago
Fred Hebert
b8665dd081
Merge pull request #1941 from tothlac/1940
Support alias format {Namespace, Cmd} and {Namespace, Cmd, Args} (#1940 )
6 years ago
tothlac
5facb035fe
Support alias format {Namespace, Cmd} and {Namespace, Cmd, Args} ( #1940 )
6 years ago
András Boroska
5944b14f57
Fix package upgrade (issue #1945 ) ( #1946 )
6 years ago
Fred Hebert
cad1da8769
Merge pull request #1844 from simonxu72/master
add git clone --reference path support
6 years ago
simonxu72
4014faf695
merge from upstream/master
6 years ago
András Boroska
7dd8545e52
Fix plugins list display to include project plugins
6 years ago
Fred Hebert
d0e9a55346
Merge pull request #1939 from getong/fix_install_output
fix install output result
6 years ago
getong
374f23c580
fix install output result
6 years ago
Tristan Sloughter
8d31d559c1
check last modified time on erl files for xrl and yrl files before compiling
6 years ago
Tristan Sloughter
60dc0504bf
fix compilation of global plugins ( #1935 )
6 years ago
Fred Hebert
83d01b5249
Merge pull request #1929 from Raphexion/raphexion/ignore-emacs-temp-files
templates/gitignore ignore emacs temp files
6 years ago
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>
6 years ago
Tristan Sloughter
0f6f163017
set app's dir before setting app_info deps ( #1928 )
6 years ago
Fred Hebert
e837ba761e
Merge pull request #1927 from aboroska/fix-app-template
Fix misleading config in app template
6 years ago