Skip to content

Commit

Permalink
Reformat C code
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed May 17, 2016
1 parent c4c896d commit b3cedf6
Show file tree
Hide file tree
Showing 3 changed files with 583 additions and 666 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ task :benchmark do |t|
load 'test/benchmark.rb'
end

desc 'Match style of cmark'
task :astyle do
sh 'astyle --style=linux -t -p ext/commonmarker/commonmarker.{c,h}'
desc 'Match C style of cmark'
task :format do
sh 'clang-format -style llvm -i ext/commonmarker/*.c ext/commonmarker/*.h'
end

# Documentation
Expand Down
Loading

0 comments on commit b3cedf6

Please sign in to comment.