bumped
Version:
Makes easy release software.
25 lines (21 loc) • 1.33 kB
text/coffeescript
'use strict'
module.exports =
# Positive
CONFIG_CREATED : -> 'Config file created!.'
ADD_FILE : (file) -> "'#{file}' has been added."
ADD_ALREADY_FILE : (file) -> "'#{file}' is already added."
REMOVE_FILE : (file) -> "'#{file}' has been removed."
DETECTED_FILE : (file) -> "Detected '#{file}' in the directory."
CREATED_VERSION : (version) -> "Releases version '#{version}'."
CURRENT_VERSION : (version) -> "Current version is '#{version}'."
SET_PROPERTY : (property) -> "Property '#{property}' set."
# Negative
NOT_REMOVE_FILE : (file) -> "#{file} can't be removed because previously hasn't been added."
NOT_DETECTED_FILE : (file) -> "'#{file}' hasn't been detected in the directory."
NOT_VALID_VERSION : (version) -> "version '#{version}' provided to release is not valid."
NOT_GREATER_VERSION : (last, old) -> "version '#{last}' is not greater that the current '#{old}' version."
NOT_CURRENT_VERSION : -> "There isn't version declared."
NOT_AUTODETECTED : -> "It has been impossible to detect files automatically."
NOT_AUTODETECTED_2 : -> "Try to add manually with 'add' command."
NOT_SET_PROPERTY : -> "You need to provide the property and the value to be setted"
NOT_SET_VERSION : -> "Use 'bumped release' instead."