diff options
author | Loïc Hoguin <[email protected]> | 2018-12-07 19:40:02 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-12-07 19:40:02 +0100 |
commit | a3cd50792d0ed1c5dfee66ff79ee7117057e9970 (patch) | |
tree | 79c76f50159c7d63fc313628b8b0715831537b42 /test/core_compat.mk | |
parent | 1fb70e0d435e5058c558f89d223a0f6ba3bd5342 (diff) | |
download | erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.tar.gz erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.tar.bz2 erlang.mk-a3cd50792d0ed1c5dfee66ff79ee7117057e9970.zip |
Autopatch: allow configuring REBAR_GIT and REBAR_COMMIT
And use this in the tests to fetch Rebar only once and then
clone from the local repository. This should speed up tests
a little.
Diffstat (limited to 'test/core_compat.mk')
-rw-r--r-- | test/core_compat.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/core_compat.mk b/test/core_compat.mk index c8de73b..e6dbd92 100644 --- a/test/core_compat.mk +++ b/test/core_compat.mk @@ -11,7 +11,7 @@ REBAR3_BINARY = https://s3.amazonaws.com/rebar3/rebar3 core-compat: $(CORE_COMPAT_TARGETS) -core-compat-auto-rebar: build clean +core-compat-auto-rebar: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -53,7 +53,7 @@ core-compat-auto-rebar: build clean $i "Use rebar to build the application" $t cd $(APP) && ./rebar compile $v -core-compat-rebar: build clean +core-compat-rebar: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -92,7 +92,7 @@ core-compat-rebar: build clean $i "Use rebar to build the application" $t cd $(APP) && ./rebar compile $v -core-compat-rebar-deps-git: build clean +core-compat-rebar-deps-git: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -124,7 +124,7 @@ core-compat-rebar-deps-git: build clean $i "Use rebar to build the application" $t cd $(APP) && ./rebar get-deps compile $v -core-compat-rebar-deps-hex: build clean +core-compat-rebar-deps-hex: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -156,7 +156,7 @@ core-compat-rebar-deps-hex: build clean $i "Use rebar to build the application" $t cd $(APP) && ./rebar3 compile $v -core-compat-rebar-deps-pkg: build clean +core-compat-rebar-deps-pkg: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -188,7 +188,7 @@ core-compat-rebar-deps-pkg: build clean $i "Use rebar to build the application" $t cd $(APP) && ./rebar get-deps compile $v -core-compat-rebar-erlc-opts: build clean +core-compat-rebar-erlc-opts: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ @@ -237,7 +237,7 @@ core-compat-rebar-erlc-opts: build clean $i "Use rebar to build the application" $t cd $(APP) && ./rebar compile $v -core-compat-rebar-pt: build clean +core-compat-rebar-pt: init $i "Bootstrap a new OTP library named $(APP)" $t mkdir $(APP)/ |