blob: 2ef0c864ece2071a69734ea0f5fdc6ae89bd2a21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# shellcheck shell=bash
rebar3CompileHook() {
echo "Executing rebar3CompileHook"
runHook preBuild
HOME=. rebar3 bare compile --paths "."
runHook postBuild
echo "Finished rebar3CompileHook"
}
if [ -z "${dontRebar3Compile-}" ] && [ -z "${buildPhase-}" ]; then
buildPhase=rebar3CompileHook
fi
|