Skip to content

Commit

Permalink
GHI-#8 Add VERSION constant and make method getVersion() static
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Dec 3, 2016
1 parent f241e8d commit e26e5cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
15 changes: 1 addition & 14 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions src/main/java/com/arcticicestudio/nord/Nord.java
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ public enum Nord {
*/
private final Color COLOR;

/**
* The <a href="https://github.com/arcticicestudio/arcver">ArcVer</a> version of the public API.
*/
private static final String VERSION = "0.1.0";

/**
* Constructs a new color object.
*
Expand Down Expand Up @@ -236,7 +241,7 @@ public Color get() {
* @return the ArcVer version string
* @see <a href="http://semver.org">SemVer</a>
*/
public String getVersion() {
return "0.1.0";
public static String getVersion() {
return VERSION;
}
}

0 comments on commit e26e5cf

Please sign in to comment.