Gleb Peregud
cde592150b
Skip update and compilation if possible.
This detects existence of Hex registry at
$HOME/.cache/rebar3/hex/default/registry and skips "rebar3 update" step.
It also detect presence of bootstrap dependencies in _build/default/lib/
and skips fetching them.
9 vuotta sitten
Tristan Sloughter
d67ea4a511
just delete erlware_commons rebar.config.script, it isn't needed for rebar3
9 vuotta sitten
Benoit Chesneau
32c9a39cd6
certifi must be compiled during initial bootstrap
fix #790
9 vuotta sitten
Tristan Sloughter
a67ce27ac1
add comment for global apply_profiles and log message for bad bootstrap lock file
9 vuotta sitten
Tristan Sloughter
8dc0fafb36
fix for empty rebar.lock during bootstrap
9 vuotta sitten
CarlosEDP
4a25a4d9d5
Renamed functions.
9 vuotta sitten
CarlosEDP
38cc32c40a
Added rebar profile to httpc initialization and calls.
9 vuotta sitten
CarlosEDP
46ca2bb6b0
Fix for cases with no proxy configured.
9 vuotta sitten
CarlosEDP
60265aba34
Get proxy vars from ~/.config/rebar3/rebar.config. Variable format is {http_proxy, http://host:port } or {http_proxy, http://host:port }
9 vuotta sitten
CarlosEDP
8de84f1af0
Added support for proxy on rebar3 based on environment variables.
9 vuotta sitten
CarlosEDP
9906fdc25e
Added support to http and https proxies on bootstrap. Variables are read from environment vars http_proxy and https_proxy.
9 vuotta sitten
Tristan Sloughter
b85d827c80
add relup provider and update relx
9 vuotta sitten
Tristan Sloughter
6d3a107056
use application:start(crypto) instead of crypto:start()
10 vuotta sitten
Tristan Sloughter
9df51005e6
use packages for deps and add dialyze profile
10 vuotta sitten
Tristan Sloughter
5866742dd8
use bbmustache package
10 vuotta sitten
Tristan Sloughter
a6f33258e2
fix failure on missing OTP_VERSION file #403
10 vuotta sitten
Tristan Sloughter
b4724009b5
don't use rebar_dir function in bootstrap
10 vuotta sitten
derwinlu
3e005ab107
fix bootstrap on windows, fallback to copy if symlinking fails
10 vuotta sitten
Tristan Sloughter
2e5496f5f5
remove use of erlydtl in rebar
10 vuotta sitten
Tristan Sloughter
26161bc1ac
support for 18.0+
10 vuotta sitten
Tristan Sloughter
bd2f8bbc5e
print and halt on compile error
10 vuotta sitten
Tristan Sloughter
e5988f69e0
R15 support, replace unsetenv with putenv empty string
10 vuotta sitten
Tristan Sloughter
16e9b3ffa2
fix tracking of all profiles dep paths
10 vuotta sitten
Tristan Sloughter
4374999d95
real bootstrapping
10 vuotta sitten
Tristan Sloughter
4f3c5fc68f
remove unneeded portions of bootstrap script
10 vuotta sitten
Tristan Sloughter
ed017289ed
switch ct provider to use external provider behavior
10 vuotta sitten
Tristan Sloughter
6213671042
update bootstrap final messae
10 vuotta sitten
Tristan Sloughter
07dd54d7fd
fix travis test
10 vuotta sitten
Tristan Sloughter
a602cfc593
replace logging with ec_cmd_log from erlware_commons
10 vuotta sitten
Tristan Sloughter
eb8fa02df7
large refactoring
Removed separate compilers
Resolves apps to build
Finds avail deps before pulling/building
Includes relx
Simplifies build commands
10 vuotta sitten
Tuncer Ayaz
3fb4a7c540
Fix OS X resource fork handling (Reported-by: Richard O'Keefe)
If you happen to fetch a zip archive of the git repo and try to build
from that, you may, for example, ask erlc to build src/._rebar.erl.
._* are OS X resource forks and not real .erl files. This may also
happen with network filesystems on OS X. To fix that, limit the
files compiled by rebar to include only those which start with
a letter or a digit.
11 vuotta sitten
Tuncer Ayaz
15373a580f
Fix typo s/of/on/
10 vuotta sitten
Tuncer Ayaz
5f995bfdc0
Fix a few minor formatting inconsistencies
* fix overlong lines
* where appropriate use %% instead of %
10 vuotta sitten
Luis Rascão
41095e73e2
fix indentation issues
11 vuotta sitten
Luis Rascao
411d703666
bootstrap now accepts --help usage flag
11 vuotta sitten
Matwey V. Kornilov
4de9ea5574
Add namespaced_types to bootstrap script.
11 vuotta sitten
Tuncer Ayaz
af305f2425
bootstrap: avoid trying to run 'debug' command
If you invoke 'make debug', then bootstrap executes rebar:main/1 with
the extra argument "debug" and rebar treats that as a command. There is
no such command.
Without this patch you will see the following on bootstrap:
Command 'debug' not understood or not applicable
11 vuotta sitten
Tuncer Ayaz
e34b702423
bootstrap: fix and enhance VCS_INFO handling
* re-compile rebar.erl instead of rebar_core to define VCS_INFO
* append "-dirty" if vcs indicates unclean repo status
12 vuotta sitten
Tuncer Ayaz
1e980859e2
Extend escriptize and reuse in bootstrap
13 vuotta sitten
Tuncer Ayaz
c2a72a12ae
Fix escript creation as suggested by Siri Hansen
13 vuotta sitten
Tuncer Ayaz
7e812e6a75
Print full git revision in version string
13 vuotta sitten
Dave Smith
0f24d93256
Move to major.minor.patch release version; add OTP build version
version info
13 vuotta sitten
Mike Lazar
cbfabd6073
Remove generation of ps1 script (no longer needed)
13 vuotta sitten
Mike Lazar
fa3dab30ae
Fix typos in generated cmd script in bootstrap
Fixes basho/rebar#188
13 vuotta sitten
Tuncer Ayaz
bd349bd2c4
bootstrap: do not ignore write_file return value
13 vuotta sitten
Matt Campbell
8c01734e98
bootstrap: generate windows scripts
13 vuotta sitten
Tuncer Ayaz
461335acf9
Reformat bootstrap
13 vuotta sitten
Scott Lystig Fritchie
92129d6dd2
Document use of -noshell -noinput in emu_opts
13 vuotta sitten
Tuncer Ayaz
2911d48fb1
Remove trailing whitespace
13 vuotta sitten
Tuncer Ayaz
c466076ffb
Clean up emacs file local variables
14 vuotta sitten