git.fiddlerwoaroof.com
Browse code

make invokes formatting script

Greg Wiley authored on 19/04/2017 17:48:33
Showing 2 changed files
... ...
@@ -1,6 +1,7 @@
1 1
 This project uses Artistic Style (astyle) for formatting. The configuration
2 2
 file is `astylerc`.
3 3
 
4
-`make format` runs the style program with the configuration
4
+`format.sh` runs all formatting including Artistic Style and blank line normalization.
5 5
 
6
+`make format` runs all formatting.
6 7
 
... ...
@@ -55,6 +55,6 @@ endif
55 55
 
56 56
 .PHONY: format
57 57
 format:
58
-	@astyle --options=astylerc *.cc *.h
58
+	@./format.sh
59 59
 
60 60