10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-11-18 20:12:24 +01:00
qmcchem/scripts/compile_ocaml.sh

14 lines
223 B
Bash
Raw Normal View History

2015-12-20 01:09:14 +01:00
#!/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 ${@}