Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

fperrad/ooc-codingstd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages