diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-07 23:28:42 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-07 23:28:42 +0100 |
commit | b984992fc92b6dd607732d6dad1c533b36f1ba3a (patch) | |
tree | 984c5ede072c2ebb10ad32acb5d5928162feb97f /tools/hooks | |
parent | Searching through BookmarkModel elements (diff) | |
download | smolbote-b984992fc92b6dd607732d6dad1c533b36f1ba3a.tar.xz |
Added .clang-format
Diffstat (limited to 'tools/hooks')
-rwxr-xr-x | tools/hooks/pre-commit.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/hooks/pre-commit.rb b/tools/hooks/pre-commit.rb index c224a49..825a851 100755 --- a/tools/hooks/pre-commit.rb +++ b/tools/hooks/pre-commit.rb @@ -15,11 +15,5 @@ files.each { |name| } } -puts 'Running astyle...' -if not `astyle --dry-run --formatted --options=astyle.rc #{files.join(' ')}`.empty? then - system "astyle --verbose --suffix=none --formatted --options=astyle.rc #{files.join(' ')}" - result = 1 -end - puts "pre-commit exit(#{result})" exit result |