gnir outputs

Added rulefile for gnatcheck
Makefile for examples
This commit is contained in:
Per Sandberg 2010-04-13 20:38:27 +02:00
parent 08a62a760a
commit 5c6750f226
5 changed files with 27 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,4 +1,6 @@
lib
.obj
*~
*.pyc
new\ file

6
examples/.gitignore vendored
View File

@ -1,4 +1,8 @@
debug
.#*#
gnatcheck.out
zmq-examples-client
zmq-examples-display
zmq-examples-prompt
zmq-examples-server

6
examples/Makefile Normal file
View File

@ -0,0 +1,6 @@
all: compile
compile:
gprbuild -p -P zmq-examples.gpr

2
tests/.gitignore vendored
View File

@ -1,3 +1,3 @@
bin
test.adb
*.ali

13
zmq.rules Normal file
View File

@ -0,0 +1,13 @@
+RAnonymous_Arrays
+RExceptions_As_Control_Flow
+REXIT_Statements_With_No_Loop_Name
+RGOTO_Statements
+RImproper_Returns
+RPositional_Actuals_For_Defaulted_Generic_Parameters
+RPositional_Generic_Parameters
+RUncommented_BEGIN_In_Package_Bodies
+RUnassigned_OUT_Parameters
+RFloat_Equality_Checks
+RMetrics_LSLOC:1000
+RMetrics_Cyclomatic_Complexity:10
+RMetrics_Essential_Complexity:10