Commit 92662f07 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

duneeasyconfig.sh updated

parent f3af5985
......@@ -2,6 +2,7 @@
if [[ $# -ne 2 ]]; then
echo "usage: $0 dune-module (core|staging|extensions|...)"
exit 1
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." >/dev/null && pwd )"
......@@ -13,7 +14,7 @@ TOOLCHAIN="foss"
TOOLCHAIN_VERSION="2018a"
OUT_DIR=${DIR}/modules
mkdir -p ${DIR}/d/${MODULE}
mkdir -p ${DIR}/modules/d/${MODULE}
GIT_REPO="https://gitlab.dune-project.org/${GROUP}/${MODULE}.git"
GIT_DIR="/tmp/${USER}/dune/${GROUP}/${MODULE}"
......@@ -28,7 +29,7 @@ cd ${GIT_DIR}
VERSION=`date +%Y.%m.%d`
DEPENDENCIES=$(python ${DIR}/tools/parse_dune.module.py ${GIT_DIR}/dune.module)
git archive --format=tar.gz --prefix=${MODULE}-v${VERSION}/ HEAD > ${DIR}/d/${MODULE}/${MODULE}-v${VERSION}.tar.gz
git archive --format=tar.gz --prefix=${MODULE}-v${VERSION}/ HEAD > ${DIR}/modules/d/${MODULE}/${MODULE}-v${VERSION}.tar.gz
EASYCONFIG="${OUT_DIR}/${MODULE}-${VERSION}-${TOOLCHAIN}-${TOOLCHAIN_VERSION}.eb"
cat >${EASYCONFIG} <<EOL
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment