Tristan Sloughter
5dba402a11
only apply default and prod profile to dependencies
9 年之前
Tristan Sloughter
ec20f29e7c
convert ~> versions to highest matching
9 年之前
Tristan Sloughter
ef8fc6ab61
parse versions in deps tree output and support checkouts
9 年之前
Tristan Sloughter
14ab5f562e
fix dialyzer warnings
9 年之前
Tristan Sloughter
33a3a6d55a
support _checkouts overriding package dep that doesn't exist in registry
9 年之前
Tristan Sloughter
a6ca5d5e25
fixes for overrides of deps
9 年之前
Tristan Sloughter
8e25a45cbb
update use of hooks and plugins with state in app_info
9 年之前
Tristan Sloughter
32d07ec076
build on already created AppInfo instead of having to do copy
9 年之前
Tristan Sloughter
3aec31f0bc
fix erl_opts to not be inherited
9 年之前
Tristan Sloughter
f209ccc2b8
remove state record from app_info record
9 年之前
Tristan Sloughter
98752aab93
wip: move state into app_info
9 年之前
Tristan Sloughter
af395c5bca
set parent on already fetched apps so tree works
9 年之前
Tristan Sloughter
0a4509f5b0
simplify package dep parsing and handling
9 年之前
Tristan Sloughter
f2547a457f
support pkg attribute on dep to declare package name different from app name
9 年之前
Tristan Sloughter
dae1b4cc82
improve error messages for packages by checking its existance before fetching
9 年之前
Tristan Sloughter
cf5390f018
replace use of dict of packages and registry with single ets table
9 年之前
Tristan Sloughter
31a24ad4ff
this patch treats pkg and src deps as equals, so level decides winner
Instead fetching and resolving src deps (which could depend on pkg deps)
and then pkg deps this patch combines the two into a single set of
iterations by level. The only difference between src and pkg deps in this
new install_deps is how their deps list is found -- from the config or
lock file for src deps and from the neighbors of the vertex for pkg.
9 年之前
James Fish
fc6cc368c3
Fix some unknown functions/types dialyzer warnings
9 年之前
Tristan Sloughter
806f7f9219
include app.src.script in app discover and always use if available
10 年之前
Tristan Sloughter
f82874de58
include applications list in compile sort
10 年之前
Tristan Sloughter
ae9c83fb4b
copy project apps to deps output dir for compilation
10 年之前
Tristan Sloughter
c3e2ab1c1e
remove unneeded get_modules_list function
10 年之前
Tristan Sloughter
8f03afded4
consolidate app validation and exist checks
10 年之前
Tristan Sloughter
b654272063
remove unused functions from app utils
10 年之前
nuex
79a1c285f0
return an error when an app file is missing
10 年之前
Tristan Sloughter
8e5c916cb6
move dir functions from utils to new module rebar_dir
10 年之前
Tristan Sloughter
e1b1152b21
slowly widdling away at dialyzer errors
10 年之前
Tristan Sloughter
3924908f64
more efficient check for existing dep
10 年之前
Tristan Sloughter
1dabd217db
inefficient way, but safer, of checking if an app is already downloaded
10 年之前
Tristan Sloughter
6aaeae93ea
remove use of 17+ function lists:droplast/1
10 年之前
Tristan Sloughter
629792f36b
start of moving to splitting state from config parsing
10 年之前
Tristan Sloughter
eb8fa02df7
large refactoring
Removed separate compilers
Resolves apps to build
Finds avail deps before pulling/building
Includes relx
Simplifies build commands
11 年之前
Tuncer Ayaz
5fa6671511
Remove experimental flags
Remove experimental flag from:
* qc compile_only=true
* eunit compile_only=true
* src/foo.app.src.script
* eunit tests=
11 年之前
Eric Merritt
eaad535e31
Allow script to be evaluated when app file is loaded
This allows an <app-name>.app.src.script to be defined and evaluated
when <app-name>.app.src or <app-name>.app are loaded. This allows the
user to add project specific manipulations to app metadata.
12 年之前
Tuncer Ayaz
c0644dc195
Finalize app=, skip_app=, suite= deprecations
13 年之前
Tuncer Ayaz
252757c753
Do not use application:set_env
13 年之前
Tuncer Ayaz
e185e86bff
Remove shared state
13 年之前
Tuncer Ayaz
27e5a0ae5b
Cleanup and simplify deprecated option handling
13 年之前
Tuncer Ayaz
1de48e4902
Move vcs_vsn/2 to rebar_utils
13 年之前
Tuncer Ayaz
8c89a388bf
Universally support apps=/skip_apps=
13 年之前
Tuncer Ayaz
a5e39c2c54
Move is_skipped_app/0 to rebar_app_utils
13 年之前
Jan Klötzke
85575fca65
rebar_app_utils: fix git hook for Windows
13 年之前
Tim Watson
6dfcd8b9f2
Support for custom version commands
This patch adds support for customising the way in which rebar generates
version numbers for app.src files using the `{vsn,Spec}` approach.
Whilst the existing `{vsn,ScmName::atom()}` syntax will continue to
work, users can also pass `{vsn,{cmd,Cmd::string()}}` in which
case the provided *command* will be used. For example:
```erlang
{application, doodah,
[
{vsn, {cmd, "git rev-parse --short HEAD"}}]}.
```
13 年之前
Tuncer Ayaz
0741157a11
Fix misspelling of accommodate
13 年之前
Tuncer Ayaz
475daf2c4a
Comment git vsn cmd changes
13 年之前
Tuncer Ayaz
a53fc2d8f5
Document git vsn cmd and fix formatting
14 年之前
Yurii Rashkovskii
15b7798e46
Add precise git versioning of multiple apps
Allows using tools like git-subtree and still maintaining proper
git-based vsns for those "imported" subtrees. Also helps understanding
what was the last change introduced to a specific application within a
multi-application repository (at this moment, all applications that
reside in the same repository, will share the same autogenerated git
vsn)
14 年之前
Tuncer Ayaz
f08f13d103
Extend app resource file existence checks
14 年之前
Tuncer Ayaz
a4ffe1ce62
Use filename:join/1
14 年之前
Dave Smith
4dc2414d89
Add support for priv/<vcs.vsn> as fallback for version info
14 年之前