Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Commit

Permalink
Added clang formatting based on AeonLucid#222
Browse files Browse the repository at this point in the history
  • Loading branch information
AeonLucid committed Nov 6, 2016
1 parent 870a989 commit 08ec9e8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .clang-format
@@ -0,0 +1,7 @@
BasedOnStyle: Google
Language: Proto
UseTab: ForIndentation
IndentWidth: 4
TabWidth: 4
ColumnLimit: 0
AlignTrailingComments: true
9 changes: 9 additions & 0 deletions .travis.yml
@@ -1,4 +1,11 @@
language: python
addons:
apt:
sources:
- llvm-toolchain-precise-3.8
- ubuntu-toolchain-r-test
packages:
- clang-format-3.8
python:
- "2.7"
install:
Expand All @@ -9,3 +16,5 @@ install:
- export PATH=/tmp/bin:$PATH
script:
- ./compile.py python
- clang-format-3.8 -i -style file $(find src -name "*.proto")
- git diff --exit-code

0 comments on commit 08ec9e8

Please sign in to comment.