Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Build everything

Brian Clozel edited this page Jan 6, 2014 · 14 revisions

Goal

Compile, run tests, and assemble the executable JAR files for the Sagan applications.

Prerequisites

  1. Get the code
  2. Install JDK 8

Steps

Build

The following command will build both the Sagan site and indexer applications, running all unit and integration tests along the way:

./gradlew build

TIP: if you wish to skip longer-running integration tests, run the above with -x integTest. See also Gradle's documentation on excluding tasks.

Verify

When the build is complete, you should now have the following two JARs in place:

sagan-site/build/libs/sagan-site.jar
sagan-indexer/build/libs/sagan-indexer.jar

Next steps

You're now ready to Run the site locally.