Tristan Sloughter
a6f33258e2
fix failure on missing OTP_VERSION file #403
10 lat temu
Tristan Sloughter
c612b0e1fd
check registry for missing package that may exist for mix
10 lat temu
alisdair sullivan
9c544217ba
delete all symlinks when copying from project files to `_build` tree
to prevent any data from being overwritten
fixes #395
10 lat temu
Tristan Sloughter
a41fbf6cfe
add processing_base_dir to rebar_api
10 lat temu
Tristan Sloughter
498ec5d3ae
add all plugins, not those just built, to path
10 lat temu
Tristan Sloughter
c5aee4b375
ignore pkgs that can't build with rebar or make
10 lat temu
Tristan Sloughter
d53d3b56be
update mustache to v0.3.0 and relx to 2.0.0
10 lat temu
Tristan Sloughter
4e5bc6056f
update mustache to v0.3.0 and relx to 2.0.0
10 lat temu
derwinlu
3edede54e7
fix rebar_git_resource
* fix shell commands relying on non windows shell commands
* fix shell commands using wrong quotes
* implement native wc -l
10 lat temu
Nathaniel Waisbrot
5cc7c76a8a
try to read a config file when running `rebar shell`
Adds a `--config` flag to the shell command to specify a config file.
If the flag is not specified, attempts to read the sys_config
defined for relx.
10 lat temu
Tristan Sloughter
0fb32e173f
use mustache as a dep
10 lat temu
Umberto Corponi
291e0de2fe
Manage syntax error in app.src files.
- Solve "Uncaught error" failure in case of syntax error in app.src file.
- Print helpful information on the location of the syntax error.
10 lat temu
Tristan Sloughter
275bdd6c04
fix integer to binary conversion for pre17 releases
10 lat temu
Tristan Sloughter
d8509f7842
fix types for pre-17 releases
10 lat temu
Tristan Sloughter
ec600a5b85
add license
10 lat temu
Tristan Sloughter
a364e16ed7
switch mustache imlementation to https://github.com/soranoba/mustache
10 lat temu
Tristan Sloughter
a6bd9be2a2
fix }}} bug in mustache
10 lat temu
Fred Hebert
8642e923c6
Bump to alpha-5
Changelog since alpha-4:
- rebar3 now bootstraps itself
- app compile fixes on app info contents and config inheritance
- dropping ErlyDTL and going to Mustache for smaller executable sizes
and faster load time on small CPUs
- dropping `erlydtl compile` command, ErlyDTL task moved to a plugin
- default dependencies are always fetched in the right place and don't
need to be copied across profile runs
- escriptize fixes
- `unlock` command added
- resolving/avoiding clashes when a rebar3 dep and an application
dependency conflict together
- profile deduplication (`rebar3 as test,test,prod,test eunit` returns
the profile/directories for `prod+test`)
- `upgrade` command bugfixes to recognize promotion of transient deps to
top-level deps
- support template when rebar3 is run as an embedded library
- some optimizations
- parse transform support is better in erl_opts
- fixes to package handling
- fixes to `rebar3 deps`
10 lat temu
Fred Hebert
4dd3eb5aef
Use resource handlers to deal with deps/semver
10 lat temu
Tristan Sloughter
aa7a272aae
set resources to empty list if non in app env
10 lat temu
Tristan Sloughter
bfd08c129d
set resources of state in state initialize functions
10 lat temu
Tristan Sloughter
ce74589a56
handle missing package in registry by skipping
10 lat temu
Fred Hebert
b3c14675c1
Fix dupes in deps provider, support atom pkgs
Whenever files were being locked *and* provided in rebar.config
duplicates could be printed. This is taken care of.
Also whenever atom packages were being used, they would cause the merge
step to fail. The new format does proper name-based deduplication of
resources, giving priority to locks to work.
ModificatioN/needs-update support is still in.
This may also act as a fix for #341 , if automation isn't required too
much.
10 lat temu
Tristan Sloughter
d4c7dea735
only fetch branch needed, remove rebar_vsn_plugins from erlware_commons
10 lat temu
Tristan Sloughter
214d6c9797
on upgrade of git branch check against remote
10 lat temu
Tristan Sloughter
2e5496f5f5
remove use of erlydtl in rebar
10 lat temu
Tristan Sloughter
bce924e04a
don't load package registry unless there are pkg deps to solve
10 lat temu
James Fish
576e42e8be
Write dialyzer warnings to file
10 lat temu
James Fish
e60f8d1af3
Error on dialyzer unknown warnings like rebar2
10 lat temu
Tristan Sloughter
becf29a5ac
enable parse transformations in rebar config
10 lat temu
Tristan Sloughter
ae7d1ca1ea
include _checkouts in release lib dirs if it exists
10 lat temu
Fred Hebert
bbb6bb2d90
Avoid topsorting deps twice
They can be culled and reused in one sort pass.
10 lat temu
Tristan Sloughter
164cff4063
read in application details into app_info after fetch
10 lat temu
Tristan Sloughter
f491e70cb8
support templates even when not run as escript
10 lat temu
Fred Hebert
5d1634448c
handle transitive deps being promoted
10 lat temu
Tristan Sloughter
ee0f4dcd60
merge_locks crashed if a config didn't have a deps entry
10 lat temu
Tristan Sloughter
d94c561627
remove warning if header not found, could be in a macro
10 lat temu
Tristan Sloughter
26161bc1ac
support for 18.0+
10 lat temu
Tristan Sloughter
e5988f69e0
R15 support, replace unsetenv with putenv empty string
10 lat temu
Tristan Sloughter
16e9b3ffa2
fix tracking of all profiles dep paths
10 lat temu
Tristan Sloughter
4374999d95
real bootstrapping
10 lat temu
Tristan Sloughter
12bd412c22
add_deps_to_patha nd restore_code_path added to api
10 lat temu
Fred Hebert
18c395ff15
Symlink existing default deps when in new profile
Should fix #360
10 lat temu
Viacheslav V. Kovalev
29a855d31c
Revert accidentially changed formatting
10 lat temu
Viacheslav Kovalev
e255529da5
Get rid of rebar_utils:tup_umerge/2 patching
10 lat temu
Viacheslav Kovalev
82b0d4b7b2
Implement opts umerge deduplication
10 lat temu
Tristan Sloughter
a3d4cc1259
track and cleanup code paths for different contexts
10 lat temu
Viacheslav V. Kovalev
381c6f4779
Correctly deduplicate profiles when applying
Conflicts:
src/rebar_state.erl
10 lat temu
Tristan Sloughter
b8c1cb2bf0
fix erl_first_files to check entire path of file
10 lat temu
Tristan Sloughter
9e59abacf3
run project wide pre-compile hooks after deps have compiled
10 lat temu