aboutsummaryrefslogtreecommitdiff
path: root/tools/hooks
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-01-07 23:28:42 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-01-07 23:28:42 +0100
commitb984992fc92b6dd607732d6dad1c533b36f1ba3a (patch)
tree984c5ede072c2ebb10ad32acb5d5928162feb97f /tools/hooks
parentSearching through BookmarkModel elements (diff)
downloadsmolbote-b984992fc92b6dd607732d6dad1c533b36f1ba3a.tar.xz
Added .clang-format
Diffstat (limited to 'tools/hooks')
-rwxr-xr-xtools/hooks/pre-commit.rb6
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