Skip to content

Commit

Permalink
push-artifacts: make MAKE configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
andi-bigswitch committed Apr 10, 2017
1 parent f413699 commit 8297c58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .build/push-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ fi
ARTIFACT_REPO_BRANCH=${2-master}
ARTIFACT_TARGET_BRANCH=${3-master}

MAKE=${MAKE-make}

ARTIFACT_REPO=$(mktemp -d --tmpdir "push-artifacts-repo.XXXXXXX")

git clone ${ARTIFACT_REPO_URL} ${ARTIFACT_REPO} -b ${ARTIFACT_REPO_BRANCH}

find ${ARTIFACT_REPO} -mindepth 1 -maxdepth 1 -type d \! -name '.*' -print0 | xargs -0 rm -r
make LOXI_OUTPUT_DIR=${ARTIFACT_REPO} clean all
${MAKE} LOXI_OUTPUT_DIR=${ARTIFACT_REPO} clean all

loxi_branch=$(git rev-parse --abbrev-ref HEAD)
loxi_head=$(git rev-parse HEAD)
Expand Down

0 comments on commit 8297c58

Please sign in to comment.