10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-06-18 19:25:18 +02:00
qmcchem/scripts/compile_ocaml.sh
2015-12-20 01:09:14 +01:00

14 lines
223 B
Bash
Executable File

#!/bin/bash
if [[ -z ${QMCCHEM_PATH} ]]
then
echo "Error: qmcchemrc not loaded"
exit -1
fi
cd ${QMCCHEM_PATH}/ocaml || exit -1
cp ${QMCCHEM_PATH}/EZFIO/Ocaml/ezfio.ml . || exit -1
exec ninja -f generated.ninja ${@}