Skip to content

A mavenized version of Tis Veugen's PbnJVeri application.

License

Notifications You must be signed in to change notification settings

ContractBridge/pbnj

Repository files navigation

Build Status codecov

pbnj

This repository is a version of Tis Veugen's PbnJVeri a Java program for verifying whether PBN (Portable Bridge Notation) files obey the standards PBN 1.0, PBN 2.0, and PBN 2.1. The program is also able to convert PBN files from import format to export format. The PBN standard and PBN files can be found on the PBN homepages:

The main difference from the original version is that we have added some Gradle build goodness so that it can support unit testing as well as easier enhancement.

Getting Started

If you are using IntelliJ, you can run the following command to set up your ide:

$> ./gradlew idea

Gradle Lifecycle

Running the unit tests:

$> ./gradlew test

Running the tests and building the library if they pass:

$> ./gradlew build

Run the gui application:

$> ./gradlew run

Run the command line application against a PBN file:

$> ./gradlew run --args='src/test/resources/correct_10.pbn'

Clean:

$> ./gradlew clean

For information about the command line instructions, see the README-ORIGINAL.md.