-- The version of a package is controlled by a StringValue included as a child
-- of the package. This constant controls the name of that StringValue.
--
-- Initially we wanted to use Attributes for the version, however Rojo does not
-- support syncing Attributes yet. As such, we've opted to go the old fashioned
-- way of including a StringValue.

local PACKAGE_VERSION_NAME = "_Version"

local PACKAGE_VERSION_OBJECT_MISSING = "%s is missing a %s StringValue at %s"
local PACKAGE_VERSION_EMPTY = "%s cannot have an empty value for its version at %s"
local ENABLED_SCRIPTS_ERROR = "All scripts included with a DevModule must be Disabled. Please disable the " ..
    "following script(s): %s"

local function log(messageType: string, message: string)
    if DevModuleInstaller.EnableLogging then
        print(("[%s] %s"):format(messageType, message))
    end
end
