Last updated 5 years ago
Was this helpful?
在Docker中进行环境搭建,无疑是非常方便的(依赖项都已经安装好了)。我们的Docker镜像是基于Ubuntu 18.04的镜像制作,您可以按照官方文档 在您的操作系统上安装Docker。
Docker安装好后,您可以下载并运行我们的镜像,然后可以对本书示例进行测试:
$ docker run -it devcafe/cmake-cookbook_ubuntu-18.04 $ git clone https://github.com/dev-cafe/cmake- cookbook.git $ cd cmake-cookbook $ pipenv install --three $ pipenv run python testing/collect_tests.py 'chapter-*/recipe-*'