mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 05:35:28 -04:00
25 lines
431 B
Bash
Executable file
25 lines
431 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
# author: Ole Schuett
|
|
|
|
# install Ubuntu packages
|
|
apt-get update -qq
|
|
apt-get install -qq --no-install-recommends \
|
|
libfindbin-libs-perl \
|
|
build-essential \
|
|
make \
|
|
perl \
|
|
python3-{pip,setuptools,wheel,dev} \
|
|
nodejs \
|
|
clang-format
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# install python packages
|
|
pip3 install pre-commit
|
|
|
|
# register the pre-commit hooks
|
|
cd /workspace/cp2k
|
|
pre-commit install --install-hooks
|
|
|
|
#EOF
|