Nort User Manual

From NovaOrdis Knowledge Base
Revision as of 21:48, 23 November 2016 by Ovidiu (talk | contribs) (→‎release)
Jump to navigation Jump to search

Internal

Concepts

Concepts

Global Options

-v|--verbose

Enable verbose execution

-d|--debug

Starts the JVM in debug mode.

release

The command queries or modifies release information metadata for the current work area and performs the sequence of steps required to do a release. For more details about what a release is, and what those steps are, see the "Release" section.

To query the work area and display the current version, execute:

release info

To initiate a release sequence, use:

release major|minor|patch|snapshot|<custom-release-string>

For more details on what a release sequence does, see the "Release Sequence" section.

If a custom release string is used, the string is checked for consistency. The release process will fail if the version string is invalid or represents an older version than the current.

release Command Options

--no-push

changes won't be pushed into the remote repository. Useful when the release process takes place offline. The changes will have to be manually pushed later.

--no-tests

won't run the test suite upon release. Not usually recommended, unless we're releasing a snapshot.

build

The command creates releasable artifacts (binary distributions or libraries, depending on the nature of the project) for the current version. If the build process is successful, the artifacts are stored in the build area ("target" directory, for Maven) of the current work area.

install

nort initialize

Initializes a new project.

For more details on new project initialization see:

New Project Initialization