Skip to content
Snippets Groups Projects
Commit 6c9bc5dd authored by Krzysztof Mochocki's avatar Krzysztof Mochocki Committed by Bartek Wrona
Browse files

Add script to setup m2u

parent ef96b7a8
No related branches found
No related tags found
1 merge request!249Add benchmark tests for block_api
#!/bin/bash
set -euo pipefail
WORKDIR=m2u
M2U_URL="https://github.com/tguzik/m2u.git"
if [[ -f "$WORKDIR/activate" ]]; then
echo "using cached jmeter"
exit 0
fi
echo "creating work directory"
mkdir -p "$WORKDIR"
pushd "$WORKDIR"
echo "downloading m2u"
git clone "$M2U_URL" --single-branch -b master .
echo "configuring m2u"
mvn 2>&1 >/dev/null
echo "M2U='java -jar $PWD/target/m2u.jar'" > activate
popd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment