Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ooc coding standard
branch: master

This branch is 1 commit behind fperrad:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
source
.gitignore
Makefile
README.md

README.md

ooc-CodingStd

a set of coding standard tests written in ooc for project using ooc.

Why Coding Standard

Coding Standard is about consistency.

The goal is to improve collaboration and maintainance.

How Use Them in Your Project

Pre-requisites:

  • your project must use GIT
  • a recent perl (>= 5.10.1) or at least a recent Test::Harness module (>= 3.17) (run prove -V)

add in your Makefile :

# your own selection of tests
CODING_STD = \
  TrailingSpace \
  HardTabs \
  LineLength \
  ...

codingstd: ../ooc-codingstd
        prove --exec="rock -r -sourcepath=../ooc-codingstd/source" $(CODING_STD)

../ooc-codingstd:
        cd .. && git clone git://github.com/fperrad/ooc-codingstd.git

now, you could run :

$ make codingstd
Something went wrong with that request. Please try again.