Nort User Manual: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 40: Line 40:


==<tt>release</tt> Command Options==
==<tt>release</tt> Command Options==
===--no-tests===
<font color=red>won't run the test suite upon release. Not usually recommended, unless we're releasing a snapshot.</font>


===--no-push===  
===--no-push===  


<font color=red>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.</font>
<font color=red>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.</font>
===--no-tests===
<font color=red>won't run the test suite upon release. Not usually recommended, unless we're releasing a snapshot.</font>


=<tt>build</tt>=
=<tt>build</tt>=

Revision as of 21:48, 23 November 2016

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-tests

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

--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.

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