项目作者: jeppefrandsen

项目描述 :
WebKit style checking with VS Code cpplint plugin
高级语言: Shell
项目地址: git://github.com/jeppefrandsen/cpplint-webkit.git
创建时间: 2020-06-13T07:55:54Z
项目社区:https://github.com/jeppefrandsen/cpplint-webkit

开源协议:

下载


cpplint-webkit

Small script for checking WebKit Code Style Guidelines with cpplint Visual Studio code plugin. The repository also contains the check-webkit-style tool extracted from the WebKit repository with minor modifications to make it work without the complete codebase.

Install

  • Clone this repository or download the source from a release tag
  • Extract and change to the cpplint-webkit directory
  • Install the tool e.g. in a docker container by running ./install
  • Install the cpplint VS Code plugin (can also be added to e.g. devcontainer.json for automatic installation)
  • Configure any options to WebKit’s check-webkit-style with the CPPLINT_WEBKIT_ARGS environment variable
  • Make sure that /usr/local/bin is in your evironment PATH variable
  • Run git config --global --add safe.directory '*' to make sure the /usr/share/WebKit is set to be safe