Skip to content

Commit

Permalink
v0.1.1
Browse files Browse the repository at this point in the history
v0.1.1
  • Loading branch information
HEdingfield authored Jul 10, 2019
2 parents 4bea13e + e6c8621 commit 8874bbe
Show file tree
Hide file tree
Showing 43 changed files with 335 additions and 313 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# Universal RCV Tabulator

## Dependencies

#### Java
[JDK 11+](https://jdk.java.net/) (OpenJDK recommended)

#### Other Dependencies
See the `dependencies` entry in the [Gradle build file](build.gradle). Gradle should be used to automatically download these libraries.

## Overview

The Universal RCV Tabulator is a free, open-source application designed to quickly and accurately tabulate a wide variety of ranked choice voting (RCV) elections. It allows users to:
Expand All @@ -30,7 +22,7 @@ The Tabulator produces the following as output:

#### Method 1 (Easy): Pre-Compiled Version

1. Download the pre-compiled Tabulator for your OS from the Ranked Choice Voting Resource Center's Google Drive [here](https://drive.google.com/drive/u/1/folders/1vYYJa5-oJe0lpaVnI_ELn9foZIVZ54pL).
1. Download the pre-compiled Tabulator for your OS from the GitHub [releases page](https://github.com/BrightSpots/rcv/releases).

**Note**: this download should be a "jlink image", which means you don't even need to have Java installed on your machine to run it!

Expand Down
34 changes: 23 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,34 @@ jlink {
}
}

def docsToCopy = copySpec {
from("$projectDir") {
include "README.md", "LICENSE"
}
}

def sampleInputToCopy = copySpec {
includeEmptyDirs = false
from("$projectDir/src/test/resources/network/brightspots/rcv/test_data") {
include "2015_portland_mayor/2015_portland_mayor_config.json"
include "2015_portland_mayor/2015_portland_mayor_cvr.xlsx"
include "sample_interactive_tiebreak/sample_interactive_tiebreak_config.json"
include "sample_interactive_tiebreak/sample_interactive_tiebreak_sequential_config.json"
include "sample_interactive_tiebreak/sample_interactive_tiebreak_cvr.xlsx"
include "precinct_example/precinct_example_config.json"
include "precinct_example/precinct_example_cvr.xlsx"
exclude "output"
exclude "**/*expected*"
}
}

tasks.jlink.doLast {
copy {
from("/") {
include "README.md", "LICENSE"
}
with docsToCopy
into JLINK_DIR + "/docs"
}
copy {
includeEmptyDirs = false
from("/src/test/resources/network/brightspots/rcv/test_data") {
include "2015_portland_mayor/*"
include "sample_interactive_tiebreak/*"
include "precinct_example/*"
exclude "output"
exclude "**/*expected*"
}
with sampleInputToCopy
into JLINK_DIR + "/sample_input"
}
}
Loading

0 comments on commit 8874bbe

Please sign in to comment.